From: <Dharma.B@microchip.com>
To: <krzk@kernel.org>, <Manikandan.M@microchip.com>,
<andrzej.hajda@intel.com>, <neil.armstrong@linaro.org>,
<rfoss@kernel.org>, <Laurent.pinchart@ideasonboard.com>,
<jonas@kwiboo.se>, <jernej.skrabec@gmail.com>,
<airlied@gmail.com>, <daniel@ffwll.ch>,
<maarten.lankhorst@linux.intel.com>, <mripard@kernel.org>,
<tzimmermann@suse.de>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
<dri-devel@lists.freedesktop.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: <Linux4Microchip@microchip.com>
Subject: Re: [PATCH 1/3] dt-bindings: display: bridge: add sam9x7-lvds compatible
Date: Tue, 23 Jan 2024 03:30:37 +0000 [thread overview]
Message-ID: <40094cda-5620-4273-b181-312452e9f6a1@microchip.com> (raw)
In-Reply-To: <10a88fc6-2c4c-4f77-850f-f15b21a8ed49@kernel.org>
Hi Krzysztof,
On 22/01/24 9:21 pm, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On 22/01/2024 09:29, Dharma Balasubiramani wrote:
>> Add the 'sam9x7-lvds' compatible binding, which describes the
>> Low Voltage Differential Signaling (LVDS) Controller found on Microchip's
>> sam9x7 series System-on-Chip (SoC) devices. This binding will be used to
>> define the properties and configuration for the LVDS Controller in DT.
>>
>> Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
>> ---
>> .../display/bridge/microchip,sam9x7-lvds.yaml | 59 +++++++++++++++++++
>> 1 file changed, 59 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml
>> new file mode 100644
>> index 000000000000..8c2c5b858c85
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/display/bridge/microchip,sam9x7-lvds.yaml
>> @@ -0,0 +1,59 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/display/bridge/microchip,sam9x7-lvds.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Microchip SAM9X7 LVDS Controller
>
> What is the "X
Answered below
>
>> +
>> +maintainers:
>> + - Dharma Balasubiramani <dharma.b@microchip.com>
>> +
>> +description: |
>
> Do not need '|' unless you need to preserve formatting.
Sure, I will drop it.
>
>> + The Low Voltage Differential Signaling Controller (LVDSC) manages data
>> + format conversion from the LCD Controller internal DPI bus to OpenLDI
>> + LVDS output signals. LVDSC functions include bit mapping, balanced mode
>> + management, and serializer.
>> +
>> +properties:
>> + compatible:
>> + const: microchip,sam9x7-lvds
>
> What is "x"? Wildcard? Then no, don't use it and instead use proper SoC
> version number.
The term 'X' doesn't serve as a wildcard; rather, it directly represents
the name of the SoC series, I should use sam9x75,sam9x72 instead of sam9x7.
>
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + clocks:
>> + items:
>> + - description: Peripheral Bus Clock
>> +
>> + clock-names:
>> + items:
>> + - const: pclk
>> + - const: gclk
>> + minItems: 1
>
> No, you just said you have one clock.
Certainly, I need to exclude the gclk. Thanks.
>
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - interrupts
>> + - clocks
>> + - clock-names
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/clock/at91.h>
>> + #include <dt-bindings/dma/at91.h>
>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>
> This header is not used. Include only used ones (and missing interrupt).
>
>> +
>> + lvds-controller@f8060000 {
>> + compatible = "microchip,sam9x7-lvds";
>> + reg = <0xf8060000 0x100>;
>> + interrupts = <56 IRQ_TYPE_LEVEL_HIGH 0>;
>
> What is "0"?
Please refer
"Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt"
The third cell is used to specify the irq priority from 0 (lowest) to
7(highest).
--
With Best Regards,
Dharma B.
>
>> + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>;
>> + clock-names = "pclk";
>> + };
>
> Best regards,
> Krzysztof
>
next prev parent reply other threads:[~2024-01-23 3:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-22 8:29 [PATCH 0/3] LVDS Controller Support for SAM9X7 SoC Dharma Balasubiramani
2024-01-22 8:29 ` [PATCH 1/3] dt-bindings: display: bridge: add sam9x7-lvds compatible Dharma Balasubiramani
2024-01-22 15:51 ` Krzysztof Kozlowski
2024-01-22 16:37 ` Conor Dooley
2024-01-23 3:39 ` Dharma.B
2024-01-30 19:12 ` Rob Herring
2024-02-01 4:10 ` Dharma.B
2024-02-01 7:39 ` Krzysztof Kozlowski
2024-02-01 8:56 ` Dharma.B
2024-01-23 3:30 ` Dharma.B [this message]
2024-01-22 8:29 ` [PATCH 2/3] drm/bridge: add lvds controller support for sam9x7 Dharma Balasubiramani
2024-01-22 15:49 ` Krzysztof Kozlowski
2024-01-23 8:26 ` Dharma.B
2024-02-03 14:20 ` kernel test robot
2024-01-22 8:29 ` [PATCH 3/3] MAINTAINERS: add SAM9X7 SoC's LVDS controller Dharma Balasubiramani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40094cda-5620-4273-b181-312452e9f6a1@microchip.com \
--to=dharma.b@microchip.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=Linux4Microchip@microchip.com \
--cc=Manikandan.M@microchip.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=krzk@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=rfoss@kernel.org \
--cc=robh+dt@kernel.org \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®