[PATCH 1/2] arm64: dts: ti: k3-am62/a/p: use sub-node for USB_PHY_CTRL registers

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Fri Jan 26 07:12:11 PST 2024


On 26/01/2024 13:59, Roger Quadros wrote:
>  		power-domains = <&k3_pds 178 TI_SCI_PD_EXCLUSIVE>;
> @@ -648,7 +648,7 @@ usbss1: dwc3-usb at f910000 {
>  		reg = <0x00 0x0f910000 0x00 0x800>;
>  		clocks = <&k3_clks 162 3>;
>  		clock-names = "ref";
> -		ti,syscon-phy-pll-refclk = <&wkup_conf 0x4018>;
> +		ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>;
>  		#address-cells = <2>;
>  		#size-cells = <2>;
>  		power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>;
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
> index fef76f52a52e..bd09662a3c29 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
> @@ -19,6 +19,16 @@ chipid: chipid at 14 {
>  			compatible = "ti,am654-chipid";
>  			reg = <0x14 0x4>;
>  		};
> +
> +		usb0_phy_ctrl: syscon at 4008 {
> +			compatible = "syscon";

Not allowed alone and should cause warnings.

It does not look like you tested the DTS against bindings. Please run
`make dtbs_check W=1` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list