Thread (13 messages) 13 messages, 3 authors, 2020-01-19

Re: [PATCH v6 5/6] arm64: dts: meson: a1: Enable USB2 PHY

From: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Date: 2020-01-18 22:05:55
Also in: linux-amlogic, linux-devicetree, linux-usb

Hi Hanjie,

On Fri, Jan 17, 2020 at 1:22 AM Hanjie Lin [off-list ref] wrote:
Enable USB2 PHY for Meson A1 SoC.

Signed-off-by: Yue Wang <yue.wang@amlogic.com>
Signed-off-by: Hanjie Lin <redacted>
---
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
personally I would squash this with patch 6/6 because it's only useful
together with patch 6/6
on the other hand: it's not worth sending a v7 just for this
quoted hunk ↗ jump to hunk
@@ -100,6 +101,18 @@
                                #power-domain-cells = <1>;
                                status = "okay";
                        };
+
+                       usb2_phy1: phy@40000 {
+                               status = "okay";
we typically use one of the following patterns:
- status = "disabled" in SoC.dts
- status = "okay" in board.dts whenever the peripheral should be used
(example: I2C, USB, ...)
OR
- no status property if the peripheral is mandatory on all boards (for
example: clock controller, ...)

so for consistency with other Amlogic .dts I would either drop the
status property or set it to disabled (and enable it in
meson-a1-ad401.dts)
same applies to patch 6/6


Martin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help