Message ID | 20221114-narmstrong-sm8550-upstream-i2c-master-hub-v2-1-aadaa6997b28@linaro.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | soc: qcom: add support for the I2C Master Hub | expand |
On 18/11/2022 09:45, Neil Armstrong wrote: > The I2C Master Hub is a stripped down version of the GENI Serial Engine > QUP Wrapper Controller but only supporting I2C serial engines without > DMA support. > > Document the variant compatible, forbid UART and SPI sub-nodes, > and remove requirement for the Master AHB clock and iommu property. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Fri, 18 Nov 2022 09:45:05 +0100, Neil Armstrong wrote: > The I2C Master Hub is a stripped down version of the GENI Serial Engine > QUP Wrapper Controller but only supporting I2C serial engines without > DMA support. > > Document the variant compatible, forbid UART and SPI sub-nodes, > and remove requirement for the Master AHB clock and iommu property. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- > .../devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 44 +++++++++++++++++++--- > 1 file changed, 38 insertions(+), 6 deletions(-) > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221114-narmstrong-sm8550-upstream-i2c-master-hub-v2-1-aadaa6997b28@linaro.org geniqup@8c0000: i2c@880000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: i2c@884000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: i2c@888000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: i2c@88c000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: i2c@890000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: i2c@894000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: i2c@898000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: i2c@89c000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@8c0000: spi@880000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@8c0000: spi@880000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) arch/arm64/boot/dts/qcom/sm8450-hdk.dtb arch/arm64/boot/dts/qcom/sm8450-qrd.dtb arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx223.dtb geniqup@8c0000: spi@884000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@8c0000: spi@884000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) arch/arm64/boot/dts/qcom/sm8450-hdk.dtb arch/arm64/boot/dts/qcom/sm8450-qrd.dtb arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx223.dtb geniqup@8c0000: spi@888000: Unevaluated properties are not allowed ('label' was unexpected) arch/arm64/boot/dts/qcom/sdm845-db845c.dtb geniqup@8c0000: spi@888000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@8c0000: spi@888000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) arch/arm64/boot/dts/qcom/sm8450-hdk.dtb arch/arm64/boot/dts/qcom/sm8450-qrd.dtb arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx223.dtb geniqup@8c0000: spi@88c000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@8c0000: spi@88c000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) arch/arm64/boot/dts/qcom/sm8450-hdk.dtb arch/arm64/boot/dts/qcom/sm8450-qrd.dtb arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx223.dtb geniqup@8c0000: spi@890000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@8c0000: spi@890000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) arch/arm64/boot/dts/qcom/sm8450-hdk.dtb arch/arm64/boot/dts/qcom/sm8450-qrd.dtb arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx223.dtb geniqup@8c0000: spi@894000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@8c0000: spi@894000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) arch/arm64/boot/dts/qcom/sm8450-hdk.dtb arch/arm64/boot/dts/qcom/sm8450-qrd.dtb arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx223.dtb geniqup@8c0000: spi@898000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@8c0000: spi@898000: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected) arch/arm64/boot/dts/qcom/sm8450-hdk.dtb arch/arm64/boot/dts/qcom/sm8450-qrd.dtb arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara-pdx223.dtb geniqup@8c0000: spi@89c000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@ac0000: i2c@a80000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: i2c@a84000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: i2c@a88000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: i2c@a8c000: Unevaluated properties are not allowed ('label', 'operating-points-v2' were unexpected) arch/arm64/boot/dts/qcom/sdm845-db845c.dtb geniqup@ac0000: i2c@a8c000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: i2c@a90000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: i2c@a94000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: i2c@a98000: Unevaluated properties are not allowed ('label', 'operating-points-v2' were unexpected) arch/arm64/boot/dts/qcom/sdm845-db845c.dtb geniqup@ac0000: i2c@a98000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: i2c@a9c000: Unevaluated properties are not allowed ('operating-points-v2' was unexpected) arch/arm64/boot/dts/qcom/sdm845-cheza-r1.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb arch/arm64/boot/dts/qcom/sdm845-cheza-r3.dtb arch/arm64/boot/dts/qcom/sdm845-db845c.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyln.dtb arch/arm64/boot/dts/qcom/sdm845-lg-judyp.dtb arch/arm64/boot/dts/qcom/sdm845-mtp.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dtb arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akari.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dtb arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-apollo.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dtb arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dtb arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dtb arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dtb geniqup@ac0000: spi@a80000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@ac0000: spi@a84000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@ac0000: spi@a88000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@ac0000: spi@a8c000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@ac0000: spi@a90000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@ac0000: spi@a94000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@cc0000: spi@c80000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@cc0000: spi@c84000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@cc0000: spi@c88000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@cc0000: spi@c8c000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@cc0000: spi@c90000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb geniqup@cc0000: spi@c94000: Unevaluated properties are not allowed ('reg-names', 'spi-max-frequency' were unexpected) arch/arm64/boot/dts/qcom/sa8155p-adp.dtb arch/arm64/boot/dts/qcom/sm8150-hdk.dtb arch/arm64/boot/dts/qcom/sm8150-microsoft-surface-duo.dtb arch/arm64/boot/dts/qcom/sm8150-mtp.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dtb arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dtb
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml index 2bf5293fc995..ab4df0205285 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml @@ -21,20 +21,19 @@ properties: compatible: enum: - qcom,geni-se-qup + - qcom,geni-se-i2c-master-hub reg: description: QUP wrapper common register address and length. maxItems: 1 clock-names: - items: - - const: m-ahb - - const: s-ahb + minItems: 1 + maxItems: 2 clocks: - items: - - description: Master AHB Clock - - description: Slave AHB Clock + minItems: 1 + maxItems: 2 "#address-cells": const: 2 @@ -81,6 +80,39 @@ patternProperties: description: GENI Serial Engine based UART Controller. $ref: /schemas/serial/qcom,serial-geni-qcom.yaml# +allOf: + - if: + properties: + compatible: + contains: + const: qcom,geni-se-i2c-master-hub + then: + properties: + clock-names: + items: + - const: s-ahb + + clocks: + items: + - description: Slave AHB Clock + + iommus: false + + patternProperties: + "spi@[0-9a-f]+$": false + "serial@[0-9a-f]+$": false + else: + properties: + clock-names: + items: + - const: m-ahb + - const: s-ahb + + clocks: + items: + - description: Master AHB Clock + - description: Slave AHB Clock + additionalProperties: false examples:
The I2C Master Hub is a stripped down version of the GENI Serial Engine QUP Wrapper Controller but only supporting I2C serial engines without DMA support. Document the variant compatible, forbid UART and SPI sub-nodes, and remove requirement for the Master AHB clock and iommu property. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- .../devicetree/bindings/soc/qcom/qcom,geni-se.yaml | 44 +++++++++++++++++++--- 1 file changed, 38 insertions(+), 6 deletions(-)