lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <822182F3-5429-4731-9FA1-8F18C5D95DEC@goldelico.com>
Date:   Sat, 9 Apr 2022 15:05:37 +0200
From:   "H. Nikolaus Schaller" <hns@...delico.com>
To:     Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc:     Rob Herring <robh+dt@...nel.org>,
        Paul Cercueil <paul@...pouillou.net>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        linux-mips@...r.kernel.org, letux-kernel@...nphoenux.org
Subject: Re: [PATCH 07/18] MIPS: DTS: jz4780: fix otg node as reported by
 dtbscheck



> Am 09.04.2022 um 13:15 schrieb Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>:
> 
> On 08/04/2022 20:37, H. Nikolaus Schaller wrote:
>> arch/mips/boot/dts/ingenic/ci20.dtb: usb@...00000: compatible: 'oneOf' conditional failed, one must be fixed:
>> 	['ingenic,jz4780-otg', 'snps,dwc2'] is too long
>> 	['ingenic,jz4780-otg', 'snps,dwc2'] is too short
>> 	'brcm,bcm2835-usb' was expected
>> 	'hisilicon,hi6220-usb' was expected
>> 	'rockchip,rk3066-usb' was expected
>> 	'ingenic,jz4780-otg' is not one of ['rockchip,px30-usb', 'rockchip,rk3036-usb', 'rockchip,rk3188-usb', 'rockchip,rk3228-usb', 'rockchip,rk3288-usb', 'rockchip,rk3308-usb', 'rockchip,rk3328-usb', 'rockchip,rk3368-usb', 'rockchip,rv1108-usb']
>> 	'lantiq,arx100-usb' was expected
>> 	'lantiq,xrx200-usb' was expected
>> 	'ingenic,jz4780-otg' is not one of ['amlogic,meson8-usb', 'amlogic,meson8b-usb', 'amlogic,meson-gxbb-usb', 'amlogic,meson-g12a-usb', 'intel,socfpga-agilex-hsotg']
>> 	'amcc,dwc-otg' was expected
>> 	'apm,apm82181-dwc-otg' was expected
>> 	'snps,dwc2' was expected
>> 	'st,stm32f4x9-fsotg' was expected
>> 	'st,stm32f4x9-hsotg' was expected
>> 	'st,stm32f7-hsotg' was expected
>> 	'st,stm32mp15-fsotg' was expected
>> 	'st,stm32mp15-hsotg' was expected
>> 	'samsung,s3c6400-hsotg' was expected
>> 	'intel,socfpga-agilex-hsotg' was expected
> 
> You really don't need to paste entire warning.
> 
> 
>> 	From schema: Documentation/devicetree/bindings/usb/dwc2.yaml
>> 
>> Signed-off-by: H. Nikolaus Schaller <hns@...delico.com>
>> ---
>> arch/mips/boot/dts/ingenic/jz4780.dtsi | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi
>> index 2021836983c96..c5124459678b7 100644
>> --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi
>> +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi
>> @@ -576,7 +576,7 @@ bch: bch@...d0000 {
>> 	};
>> 
>> 	otg: usb@...00000 {
>> -		compatible = "ingenic,jz4780-otg", "snps,dwc2";
>> +		compatible = "snps,dwc2";
> 
> This looks wrong, the block usually should have a specific compatible.
> Please mention why it does not.

Well, I did not even have that idea that it could need an explanation.

There is no "ingenic,jz4780-otg" and none is needed here to make it work.

Therefore the generic "snps,dwc2" is sufficient.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ