From: Kever Yang <kever.yang@rock-chips.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: heiko@sntech.de, linux-rockchip@lists.infradead.org,
"Simon Xue" <xxm@rock-chips.com>,
"Conor Dooley" <conor+dt@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Bjorn Helgaas" <bhelgaas@google.com>,
linux-pci@vger.kernel.org, "Krzysztof Wilczyński" <kw@linux.com>,
linux-kernel@vger.kernel.org,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
devicetree@vger.kernel.org,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Shawn Lin" <shawn.lin@rock-chips.com>,
"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v4 2/7] dt-bindings: PCI: dw: rockchip: Add rk3576 support
Date: Fri, 10 Jan 2025 15:33:49 +0800 [thread overview]
Message-ID: <5025409d-5021-41b4-99ef-94ebde6f9828@rock-chips.com> (raw)
In-Reply-To: <tsxho4vhadrl6tsb2k5e2vxaeuun3k5pdkojzwjruqkof54dyd@gs3wsuxzwu4a>
Hi Krzysztof,
On 2025/1/8 16:16, Krzysztof Kozlowski wrote:
> On Tue, Jan 07, 2025 at 03:49:06PM +0800, Kever Yang wrote:
>> rk3576 is using dwc controller, with msi interrupt directly to gic instead
>> of to gic its, so
>> - no its support is required and the 'msi-map' is not need anymore,
>> - a new 'msi' interrupt is needed.
>>
>> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
>> ---
>>
>> Changes in v4:
>> - Fix wrong indentation in dt_binding_check report by Rob
>>
>> Changes in v3:
>> - Fix dtb check broken on rk3588
>> - Update commit message
>>
>> Changes in v2:
>> - remove required 'msi-map'
>> - add interrupt name 'msi'
>>
>> .../devicetree/bindings/pci/rockchip-dw-pcie-common.yaml | 4 +++-
>> Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml | 4 +---
>> 2 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/pci/rockchip-dw-pcie-common.yaml b/Documentation/devicetree/bindings/pci/rockchip-dw-pcie-common.yaml
>> index cc9adfc7611c..e4fcc2dff413 100644
>> --- a/Documentation/devicetree/bindings/pci/rockchip-dw-pcie-common.yaml
>> +++ b/Documentation/devicetree/bindings/pci/rockchip-dw-pcie-common.yaml
>> @@ -81,7 +81,9 @@ properties:
>> - const: msg
>> - const: legacy
>> - const: err
>> - - const: dma0
>> + - enum:
>> + - msi
>> + - dma0
> Commit msg said new interrupt, but this basically replaces existing DMA0
> interrupt. Maybe that's the problem with this common binding and you
> just miss constraining in each device binding. If so: fix also them.
rk3588 has 9 interrupt, and the 6th-9th is dma0-3;
rk3568 only has 5 interrupts, no dma0-3;
rk3576 add one more "msi" interrupt which is the 6th interrupt;
The upcomming rk3562 is the same as rk3576.
I'm sorry I'm not so good at this yaml grammar, how should I take care
of this case?
Thanks,
- Kever
>
> Also: your interrupts property does not match this anymore.
>
> Best regards,
> Krzysztof
>
>
next prev parent reply other threads:[~2025-01-10 7:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-07 7:49 [PATCH v4 0/7] Rockchip: add Rockchip rk3576 EVB1 board Kever Yang
2025-01-07 7:49 ` [PATCH v4 1/7] arm64: dts: rockchip: Add rk3576 naneng combphy nodes Kever Yang
2025-01-07 7:49 ` [PATCH v4 2/7] dt-bindings: PCI: dw: rockchip: Add rk3576 support Kever Yang
2025-01-08 8:16 ` Krzysztof Kozlowski
2025-01-10 7:33 ` Kever Yang [this message]
2025-01-10 12:34 ` Krzysztof Kozlowski
2025-01-07 7:49 ` [PATCH v4 3/7] arm64: dts: rockchip: Add rk3576 pcie nodes Kever Yang
2025-01-07 7:49 ` [PATCH v4 4/7] arm64: dts: rockchip: add usb related nodes for rk3576 Kever Yang
2025-01-07 7:49 ` [PATCH v4 5/7] dt-bindings: arm: rockchip: Sort for boards not in correct order Kever Yang
2025-01-07 7:49 ` [PATCH v4 6/7] dt-bindings: arm: rockchip: Add rk3576 evb1 board Kever Yang
2025-01-07 7:49 ` [PATCH v4 7/7] arm64: dts: " Kever Yang
2025-01-08 10:57 ` (subset) [PATCH v4 0/7] Rockchip: add Rockchip rk3576 EVB1 board Heiko Stuebner
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=5025409d-5021-41b4-99ef-94ebde6f9828@rock-chips.com \
--to=kever.yang@rock-chips.com \
--cc=bhelgaas@google.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=kw@linux.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=lpieralisi@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=robh@kernel.org \
--cc=shawn.lin@rock-chips.com \
--cc=xxm@rock-chips.com \
/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®