From: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
To: Arnd Bergmann <arnd@arndb.de>,
soc@kernel.org, Olof Johansson <olof@lixom.net>
Cc: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 6/8] ARM: dts: uniphier: Add ahci controller and glue layer nodes for PXs2
Date: Mon, 12 Sep 2022 21:10:40 +0900 [thread overview]
Message-ID: <0a3e5fe1-0099-ef11-29f4-0d3a64ae5e9a@socionext.com> (raw)
In-Reply-To: <a8d5db25-9191-4af0-b9e0-77fb75493a7f@www.fastmail.com>
Hi Arnd,
On 2022/09/12 17:36, Arnd Bergmann wrote:
> On Mon, Sep 12, 2022, at 9:15 AM, Kunihiko Hayashi wrote:
>> Add ahci controller and glue layer nodes including reset and phy.
>> This supports for PXs2 and the boards without PXs2 vodka board that
>> doesn't implement any SATA connectors.
>>
>> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
>> + ahci: ahci@65600000 {
>> + compatible = "socionext,uniphier-pxs2-ahci",
>> + "generic-ahci";
>> + status = "disabled";
>> + reg = <0x65600000 0x10000>;
>> + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
>> + clocks = <&sys_clk 28>;
>> + resets = <&sys_rst 28>, <&ahci_rst 0>;
>> + ports-implemented = <1>;
>> + phys = <&ahci_phy>;
>> + };
>> +
>> + ahci-glue@65700000 {
>> + compatible = "socionext,uniphier-pxs2-ahci-glue",
>> + "simple-mfd";
>
> Here as well, the "ahci-glue" name seems rather unusual for a node
> name. What does it actually do, and why is this not just part of
> the sata node?
According to ata/sata-common.yaml, "ahci@65600000" node for generic SATA
host controller is better expressed as "sata@65600000". I'll fix it.
However, "ahci-glue@65700000" is the integration of SATA related functions
(reset and phy). Maybe "sata-controller" seems to be the best, but
I couldn't find this usage.
>> + #address-cells = <1>;
>> + #size-cells = <1>;
>> + ranges = <0 0x65700000 0x100>;
>> +
>> + ahci_rst: reset@0 {
>> + compatible =
> "socionext,uniphier-pxs2-ahci-reset";
>
> I think the node name here should be "reset-controller@0".
Yes, I'll fix it.
>> +
>> + ahci_phy: phy@10 {
>> + compatible =
> "socionext,uniphier-pxs2-ahci-phy";
>
> and "sata-phy@10" here.
I'll fix it too.
Thank you,
---
Best Regards
Kunihiko Hayashi
next prev parent reply other threads:[~2022-09-12 12:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-12 7:15 [PATCH v2 0/8] Update UniPhier armv7 devicetree Kunihiko Hayashi
2022-09-12 7:15 ` [PATCH v2 1/8] ARM: dts: uniphier: Rename pvtctl node to thermal-sensor Kunihiko Hayashi
2022-09-12 7:15 ` [PATCH v2 2/8] ARM: dts: uniphier: Rename usb-phy node to usb-glue Kunihiko Hayashi
2022-09-12 8:32 ` Arnd Bergmann
2022-09-12 12:10 ` Kunihiko Hayashi
2022-09-12 7:15 ` [PATCH v2 3/8] ARM: dts: uniphier: Rename gpio-hog node Kunihiko Hayashi
2022-09-12 7:15 ` [PATCH v2 4/8] ARM: dts: uniphier: Use GIC interrupt definitions Kunihiko Hayashi
2022-09-12 7:15 ` [PATCH v2 5/8] ARM: dts: uniphier: Add ahci controller and glue layer nodes for Pro4 Kunihiko Hayashi
2022-09-12 7:15 ` [PATCH v2 6/8] ARM: dts: uniphier: Add ahci controller and glue layer nodes for PXs2 Kunihiko Hayashi
2022-09-12 8:36 ` Arnd Bergmann
2022-09-12 12:10 ` Kunihiko Hayashi [this message]
2022-09-12 7:15 ` [PATCH v2 7/8] ARM: dts: uniphier: Move interrupt-parent property to each child node in uniphier-support-card Kunihiko Hayashi
2022-09-12 7:15 ` [PATCH v2 8/8] ARM: dts: uniphier: Remove compatible "snps,dw-pcie-ep" from pcie-ep node Kunihiko Hayashi
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=0a3e5fe1-0099-ef11-29f4-0d3a64ae5e9a@socionext.com \
--to=hayashi.kunihiko@socionext.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@kernel.org \
--cc=olof@lixom.net \
--cc=robh+dt@kernel.org \
--cc=soc@kernel.org \
/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®