1. 24 11月, 2019 8 次提交
  2. 21 11月, 2019 32 次提交
    • R
      ARM: dts: lpc32xx: Fix SPI controller node names · 70f0ead5
      Rob Herring 提交于
      [ Upstream commit 11236ef582b8d66290bb3b3710e03ca1d85d8ad8 ]
      
      SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the
      name enables dtc SPI bus checks.
      
      Cc: Vladimir Zapolskiy <vz@mleia.com>
      Cc: Sylvain Lemieux <slemieux.tyco@gmail.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      70f0ead5
    • R
      ARM: dts: realview: Fix SPI controller node names · 5d3675e3
      Rob Herring 提交于
      [ Upstream commit 016add12977bcc30f77d7e48fc9a3a024cb46645 ]
      
      SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the
      name enables dtc SPI bus checks.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      5d3675e3
    • M
      ARM: dts: paz00: fix wakeup gpio keycode · 4481669a
      Marc Dietrich 提交于
      [ Upstream commit ebea2a43fdafdbce918bd7e200b709d6c33b9f3b ]
      
      The power key is controlled solely by the EC, which only tiggeres this
      gpio after wakeup.
      Fixes immediately return to suspend after wake from LP1.
      Signed-off-by: NMarc Dietrich <marvin24@gmx.de>
      Tested-by: NNicolas Chauvet <kwizart@gmail.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      4481669a
    • M
      ARM: tegra: colibri_t30: fix mcp2515 can controller interrupt polarity · 4e9cf62e
      Marcel Ziswiler 提交于
      [ Upstream commit 503fcd8464fb6cd18073e97dec59b933930655d6 ]
      
      Fix the MCP2515 SPI CAN controller interrupt polarity which according
      to its datasheet defaults to low-active aka falling edge.
      Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      4e9cf62e
    • M
      ARM: tegra: apalis_t30: fix mcp2515 can controller interrupt polarity · 63c28c08
      Marcel Ziswiler 提交于
      [ Upstream commit b38f6aa4b60a1fcc41f5c469981f8f62d6070ee3 ]
      
      Fix the MCP2515 SPI CAN controller interrupt polarity which according
      to its datasheet defaults to low-active aka falling edge.
      Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      63c28c08
    • M
      ARM: tegra: apalis_t30: fix mmc1 cmd pull-up · 2241b82d
      Marcel Ziswiler 提交于
      [ Upstream commit 1c997fe4becdc6fcbc06e23982ceb65621e6572a ]
      
      Fix MMC1 cmd pin pull-up causing issues on carrier boards without
      external pull-up.
      Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      2241b82d
    • M
      ARM: dts: tegra20: restore address order · 1717eca1
      Marcel Ziswiler 提交于
      [ Upstream commit 8188391c127ea34d66f37eda6755d0acb51dc600 ]
      
      Commit 6c468f10 ("ARM: dts: tegra: add Tegra20 NAND flash
      controller node") introduced the nand-controller node. However, it got
      added at the wrong spot not honoring the address order. Fix this.
      Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
      Reviewed-by: NStefan Agner <stefan@agner.ch>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      1717eca1
    • M
      ARM: dts: tegra30: fix xcvr-setup-use-fuses · 619f4672
      Marcel Ziswiler 提交于
      [ Upstream commit 564706f65cda3de52b09e51feb423a43940fe661 ]
      
      There was a dot instead of a comma. Fix this.
      Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
      Signed-off-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      619f4672
    • F
      ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string · e821b710
      Fabio Estevam 提交于
      [ Upstream commit 1c5f335f61ffb838fc3cc1cec9464067663eb8c8 ]
      
      According to Documentation/devicetree/bindings/rtc/rtc-ds1307.txt the
      original compatible "maxim,ds1341" is not a valid entry.
      
      Switch to the documented "dallas,ds1341" compatible.
      Reported-by: NChris Healy <cphealy@gmail.com>
      Signed-off-by: NFabio Estevam <festevam@gmail.com>
      Reviewed-by: NLucas Stach <l.stach@pengutronix.de>
      Tested-by: NChris Healy <cphealy@gmail.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      e821b710
    • A
      ARM: dts: imx6ull: update vdd_soc voltage for 900MHz operating point · c4635c27
      Anson Huang 提交于
      [ Upstream commit 245f880c25dbd8927af0f33aa5d1404370013957 ]
      
      Update VDD_SOC voltage to 1.25V for 900MHz operating point
      according to datasheet Rev. 1.3, 08/2018, 25mV is added to
      the minimum allowed values to cover power supply ripple.
      Signed-off-by: NAnson Huang <Anson.Huang@nxp.com>
      Reviewed-by: NSébastien Szymanski <sebastien.szymanski@armadeus.com>
      Signed-off-by: NShawn Guo <shawnguo@kernel.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      c4635c27
    • Z
      ARM: at91: pm: call put_device instead of of_node_put in at91_pm_config_ws · ff0eabfa
      zhong jiang 提交于
      [ Upstream commit 95590a6286c547b7287d01c55515fb96b904aa03 ]
      
      of_find_device_by_node takes a reference to the struct device when it
      finds a match via get_device. but it fails to put_device in
      at91_pm_config_ws, for_each_matching_node_and_match will get and put
      the node properly, there is no need to call the of_put_node. Therefore,
      just call put_device instead of of_node_put in at91_pm_config_ws.
      
      Fixes: d7484f5c ("ARM: at91: pm: configure wakeup sources for ULP1 mode")
      Suggested-by: NClaudiu Beznea <Claudiu.Beznea@microchip.com>
      Signed-off-by: Nzhong jiang <zhongjiang@huawei.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      ff0eabfa
    • M
      ARM: dts: exynos: Correct audio subsystem parent clock on Peach Chromebooks · de287533
      Marek Szyprowski 提交于
      [ Upstream commit ff1e37c6809daab75f7b2dea1efe69330e8eb65b ]
      
      The proper parent clock for audio subsystem for Exynos5420 and Exynos5800
      SoCs is CLK_MAU_EPLL. This fixes following warning:
      
          clk: failed to reparent mout_audss to fout_epll: -22
      
      Fixes: ed7d1307: ARM: dts: exynos: Enable HDMI audio support on Peach Pit
      Fixes: bae0f445: ARM: dts: exynos: Enable HDMI audio support on Peach Pi
      Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      de287533
    • H
      ARM: dts: rockchip: explicitly set vcc_sd0 pin to gpio on rk3188-radxarock · b7ffda42
      Heiko Stuebner 提交于
      [ Upstream commit a2df0984e73fd9e1dad5fc3f1c307ec3de395e30 ]
      
      It is good practice to make the setting of gpio-pinctrls explicitly in the
      devicetree, and in this case even necessary.
      Rockchip boards start with iomux settings set to gpio for most pins and
      while the linux pinctrl driver also implicitly sets the gpio function if
      a pin is requested as gpio that is not necessarily true for other drivers.
      
      The issue in question stems from uboot, where the sdmmc_pwr pin is set
      to function 1 (sdmmc-power) by the bootrom when reading the 1st-stage
      loader. The regulator controlled by the pin is active-low though, so
      when the dwmmc hw-block sets its enabled bit, it actually disables the
      regulator. By changing the pin back to gpio we fix that behaviour.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      b7ffda42
    • R
      ARM: dts: stm32: Fix SPI controller node names · 0769f445
      Rob Herring 提交于
      [ Upstream commit 1ba23b1df0bb6eec430408614c3a11280941e112 ]
      
      SPI controller nodes should be named 'spi' rather than 'qspi'. Fixing the
      name enables dtc SPI bus checks.
      
      Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      0769f445
    • B
      ARM: dts: clearfog: fix sdhci supply property name · c6305dfb
      Baruch Siach 提交于
      [ Upstream commit e807f0298144c06740022a2f900d86b7f115595e ]
      
      The vmmc phandle, like all power supply property names, must have the
      '-supply' suffix.
      Signed-off-by: NBaruch Siach <baruch@tkos.co.il>
      Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      c6305dfb
    • Y
      ARM: dts: stm32: enable display on stm32mp157c-ev1 board · b939d8b9
      Yannick Fertré 提交于
      [ Upstream commit 67330599f93672bd351123c729e2591a460fd24c ]
      
      Enable panel raydium RM68200, DSI bridge & display controller.
      Signed-off-by: NYannick Fertré <yannick.fertre@st.com>
      Signed-off-by: NAlexandre Torgue <alexandre.torgue@st.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      b939d8b9
    • R
      ARM: dts: marvell: Fix SPI and I2C bus warnings · aa190837
      Rob Herring 提交于
      [ Upstream commit cf680cc5251487b9a39919c3cda31a108af19cf8 ]
      
      dtc has new checks for I2C and SPI buses. Fix the warnings in node names
      and unit-addresses.
      
      arch/arm/boot/dts/dove-cubox.dtb: Warning (i2c_bus_reg): /i2c-mux/i2c@0/clock-generator: I2C bus unit address format error, expected "60"
      arch/arm/boot/dts/dove-cubox-es.dtb: Warning (i2c_bus_reg): /i2c-mux/i2c@0/clock-generator: I2C bus unit address format error, expected "60"
      arch/arm/boot/dts/dove-cubox.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dove-cubox-es.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dove-dove-db.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dove-sbc-a510.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@10600: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dove-sbc-a510.dtb: Warning (spi_bus_bridge): /mbus/internal-regs/spi-ctrl@14600: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/orion5x-kuroboxpro.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32"
      arch/arm/boot/dts/orion5x-linkstation-lschl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32"
      arch/arm/boot/dts/orion5x-linkstation-lsgl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32"
      arch/arm/boot/dts/orion5x-linkstation-lswtgl.dtb: Warning (i2c_bus_reg): /soc/internal-regs/i2c@11000/rtc: I2C bus unit address format error, expected "32"
      
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Gregory Clement <gregory.clement@bootlin.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NGregory CLEMENT <gregory.clement@bootlin.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      aa190837
    • S
      crypto: arm/crc32 - avoid warning when compiling with Clang · ccc8bf41
      Stefan Agner 提交于
      [ Upstream commit cd560235d8f9ddd94aa51e1c4dabdf3212b9b241 ]
      
      The table id (second) argument to MODULE_DEVICE_TABLE is often
      referenced otherwise. This is not the case for CPU features. This
      leads to a warning when building the kernel with Clang:
        arch/arm/crypto/crc32-ce-glue.c:239:33: warning: variable
          'crc32_cpu_feature' is not needed and will not be emitted
          [-Wunneeded-internal-declaration]
        static const struct cpu_feature crc32_cpu_feature[] = {
                                        ^
      
      Avoid warnings by using __maybe_unused, similar to commit 1f318a8b
      ("modules: mark __inittest/__exittest as __maybe_unused").
      
      Fixes: 2a9faf8b ("crypto: arm/crc32 - enable module autoloading based on CPU feature bits")
      Signed-off-by: NStefan Agner <stefan@agner.ch>
      Acked-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      ccc8bf41
    • R
      ARM: dts: ste: Fix SPI controller node names · c2f76a19
      Rob Herring 提交于
      [ Upstream commit 2f967f9e9fa076affb711da1a8389b5d33814fc6 ]
      
      SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the
      name enables dtc SPI bus checks.
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      c2f76a19
    • L
      ARM: dts: ux500: Fix LCDA clock line muxing · 4d22878d
      Linus Walleij 提交于
      [ Upstream commit ecde29569e3484e1d0a032bf4074449bce4d4a03 ]
      
      The "lcdaclk_b_1" group is muxed with the function "lcd"
      but needs a separate entry to be muxed in with "lcda"
      rather than "lcd".
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      4d22878d
    • G
      ARM: dts: ux500: Correct SCU unit address · 8be4d596
      Geert Uytterhoeven 提交于
      [ Upstream commit 2f217d24ecaec2012e628d21e244eef0608656a4 ]
      
      The unit address of the Cortex-A9 SCU device node contains one zero too
      many.  Remove it.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      8be4d596
    • R
      ARM: dts: ti: Fix SPI and I2C bus warnings · caab324d
      Rob Herring 提交于
      [ Upstream commit cc893871f092be9ac1184a78f9ae1e76b85d5317 ]
      
      dtc has new checks for I2C and SPI buses. Fix the warnings in node names
      and unit-addresses.
      
      arch/arm/boot/dts/am437x-idk-evm.dtb: Warning (spi_bus_bridge): /ocp@44000000/qspi@47900000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/am437x-sk-evm.dtb: Warning (spi_bus_bridge): /ocp@44000000/qspi@47900000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/am43x-epos-evm.dtb: Warning (spi_bus_bridge): /ocp@44000000/qspi@47900000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/omap3-n9.dtb: Warning (i2c_bus_reg): /ocp@68000000/i2c@48060000/ak8975@0f: I2C bus unit address format error, expected "f"
      arch/arm/boot/dts/am335x-osd3358-sm-red.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/pressure@78: I2C bus unit address format error, expected "76"
      arch/arm/boot/dts/am335x-boneblack.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/tda19988: I2C bus unit address format error, expected "70"
      arch/arm/boot/dts/am335x-boneblack-wireless.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/tda19988: I2C bus unit address format error, expected "70"
      arch/arm/boot/dts/am335x-sancloud-bbe.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/tda19988: I2C bus unit address format error, expected "70"
      arch/arm/boot/dts/am571x-idk.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/am572x-idk.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/am574x-idk.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/am57xx-cl-som-am57x.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/am57xx-sbc-am57x.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dra72-evm.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dra72-evm-revc.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dra76-evm.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/dra7-evm.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/am335x-pdu001.dtb: Warning (spi_bus_reg): /ocp/spi@481a0000/cfaf240320a032t: SPI bus unit address format error, expected "0"
      arch/arm/boot/dts/keystone-k2g-evm.dtb: Warning (spi_bus_bridge): /soc@0/qspi@2940000: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/keystone-k2g-ice.dtb: Warning (spi_bus_bridge): /soc@0/qspi@2940000: node name for SPI buses should be 'spi'
      
      Cc: "Benoît Cousson" <bcousson@baylibre.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Santosh Shilimkar <ssantosh@kernel.org>
      Cc: linux-omap@vger.kernel.org
      Signed-off-by: NRob Herring <robh@kernel.org>
      [tony@atomide.com: fixed mode to 644 for am335x-osd3358-sm-red.dts while at it]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      caab324d
    • G
      ARM: dts: am335x-evm: fix number of cpsw · 2cf6352a
      Grygorii Strashko 提交于
      [ Upstream commit dcbf6b18d81bcdc51390ca1b258c17e2e13b7d0c ]
      
      am335x-evm has only one CPSW external port physically wired, but DT defines
      2 ext. ports. As result, PHY connection failure reported for the second
      ext. port.
      
      Update DT to reflect am335x-evm board HW configuration, and, while here,
      switch to use phy-handle instead of phy_id.
      Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      2cf6352a
    • R
      libfdt: Ensure INT_MAX is defined in libfdt_env.h · 0729f87b
      Rob Herring 提交于
      [ Upstream commit 53dd9dce6979bc54d64a3a09a2fb20187a025be7 ]
      
      The next update of libfdt has a new dependency on INT_MAX. Update the
      instances of libfdt_env.h in the kernel to either include the necessary
      header with the definition or define it locally.
      
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Michael Ellerman <mpe@ellerman.id.au>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      0729f87b
    • R
      ARM: dts: atmel: Fix I2C and SPI bus warnings · 51e509ca
      Rob Herring 提交于
      [ Upstream commit c890ecdbe93d482512a911b299bfb009780a29c2 ]
      
      dtc has new checks for I2C and SPI buses. Fix the warnings in node names
      and unit-addresses.
      
      arch/arm/boot/dts/at91-dvk_som60.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f0018000/eeprom@87: I2C bus unit address format error, expected "57"
      arch/arm/boot/dts/at91-dvk_som60.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f0018000/ft5426@56: I2C bus unit address format error, expected "38"
      arch/arm/boot/dts/at91-vinco.dtb: Warning (i2c_bus_reg): /ahb/apb/i2c@f8024000/rtc@64: I2C bus unit address format error, expected "32"
      arch/arm/boot/dts/at91sam9260ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1"
      arch/arm/boot/dts/at91sam9g20ek_2mmc.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1"
      arch/arm/boot/dts/at91sam9g20ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/mtd_dataflash@0: SPI bus unit address format error, expected "1"
      arch/arm/boot/dts/at91sam9261ek.dtb: Warning (spi_bus_reg): /ahb/apb/spi@fffc8000/tsc2046@0: SPI bus unit address format error, expected "2"
      Signed-off-by: NRob Herring <robh@kernel.org>
      Acked-by: NNicolas Ferre <nicolas.ferre@microchip.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      51e509ca
    • R
      ARM: dts: xilinx: Fix I2C and SPI bus warnings · bad4e6d3
      Rob Herring 提交于
      [ Upstream commit f5054ceed420b1f38d37920a4c65446fcc5d6b90 ]
      
      dtc has new checks for I2C and SPI buses. Fix the warnings in node names
      and unit-addresses.
      
      arch/arm/boot/dts/zynq-zc702.dtb: Warning (i2c_bus_reg): /amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@52: I2C bus unit address format error, expected "34"
      arch/arm/boot/dts/zynq-zc702.dtb: Warning (i2c_bus_reg): /amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@53: I2C bus unit address format error, expected "35"
      arch/arm/boot/dts/zynq-zc702.dtb: Warning (i2c_bus_reg): /amba/i2c@e0004000/i2c-mux@74/i2c@7/hwmon@54: I2C bus unit address format error, expected "36"
      arch/arm/boot/dts/zynq-zc770-xm013.dtb: Warning (spi_bus_reg): /amba/spi@e0006000/eeprom@0: SPI bus unit address format error, expected "2"
      arch/arm/boot/dts/zynq-zc770-xm010.dtb: Warning (spi_bus_reg): /amba/spi@e0007000/flash@0: SPI bus unit address format error, expected "1"
      
      Cc: Michal Simek <michal.simek@xilinx.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      bad4e6d3
    • R
      ARM: dts: rockchip: Fix erroneous SPI bus dtc warnings on rk3036 · 5fc9af40
      Rob Herring 提交于
      [ Upstream commit 131c3eb428ccd5f0c784b9edb4f72ec296a045d2 ]
      
      dtc has new checks for SPI buses. The rk3036 dts file has a node named
      spi' which causes false positive warnings. As the node is a pinctrl child
      node, change the node name to be 'spi-pins' to fix the warnings.
      
      arch/arm/boot/dts/rk3036-evb.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #address-cells for SPI bus
      arch/arm/boot/dts/rk3036-kylin.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #address-cells for SPI bus
      arch/arm/boot/dts/rk3036-evb.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #size-cells for SPI bus
      arch/arm/boot/dts/rk3036-kylin.dtb: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #size-cells for SPI bus
      
      Cc: Heiko Stuebner <heiko@sntech.de>
      Cc: linux-rockchip@lists.infradead.org
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      5fc9af40
    • R
      ARM: dts: sun9i: Fix I2C bus warnings · 31e470f9
      Rob Herring 提交于
      [ Upstream commit 57a83c5222c1b5e7b3acc72c6e60fce00a38991a ]
      
      dtc has new checks for I2C buses. The sun9i-a80 dts file has a node named
      'i2c' which causes a false positive warning. As the node is a RSB bus,
      correct the node name to be 'rsb' to fix the warnings.
      
      arch/arm/boot/dts/sun9i-a80-cubieboard4.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/codec@e89:reg: I2C address must be less than 10-bits, got "0xe89"
      arch/arm/boot/dts/sun9i-a80-cubieboard4.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/pmic@745:reg: I2C address must be less than 10-bits, got "0x745"
      arch/arm/boot/dts/sun9i-a80-optimus.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/codec@e89:reg: I2C address must be less than 10-bits, got "0xe89"
      arch/arm/boot/dts/sun9i-a80-optimus.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/pmic@745:reg: I2C address must be less than 10-bits, got "0x745"
      
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      31e470f9
    • R
      ARM: dts: sunxi: Fix I2C bus warnings · d1b9d321
      Rob Herring 提交于
      [ Upstream commit 0729b4af5753b65aa031f58c435da53dbbf56d19 ]
      
      dtc has new checks for I2C buses. Fix the warnings in unit-addresses.
      
      arch/arm/boot/dts/sun8i-a23-gt90h-v4.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: I2C bus unit address format error, expected "40"
      arch/arm/boot/dts/sun8i-a23-inet86dz.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: I2C bus unit address format error, expected "40"
      arch/arm/boot/dts/sun8i-a23-polaroid-mid2407pxe03.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: I2C bus unit address format error, expected "40"
      arch/arm/boot/dts/sun8i-a23-polaroid-mid2809pxe04.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: I2C bus unit address format error, expected "40"
      arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: I2C bus unit address format error, expected "40"
      arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: missing or empty reg property
      arch/arm/boot/dts/sun8i-a33-ippo-q8h-v1.2.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: missing or empty reg property
      arch/arm/boot/dts/sun8i-a33-q8-tablet.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2ac00/touchscreen@0: missing or empty reg property
      arch/arm/boot/dts/sun5i-a13-utoo-p66.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2b000/touchscreen: I2C bus unit address format error, expected "40"
      arch/arm/boot/dts/sun5i-a13-difrnce-dit4350.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2b000/touchscreen: missing or empty reg property
      arch/arm/boot/dts/sun5i-a13-empire-electronix-m712.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2b000/touchscreen: missing or empty reg property
      arch/arm/boot/dts/sun5i-a13-inet-98v-rev2.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2b000/touchscreen: missing or empty reg property
      arch/arm/boot/dts/sun5i-a13-q8-tablet.dtb: Warning (i2c_bus_reg): /soc@1c00000/i2c@1c2b000/touchscreen: missing or empty reg property
      
      Cc: Maxime Ripard <maxime.ripard@bootlin.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      d1b9d321
    • D
      ARM: dts: socfpga: Fix I2C bus unit-address error · 8ac08053
      Dinh Nguyen 提交于
      [ Upstream commit cbbc488ed85061a765cf370c3e41f383c1e0add6 ]
      
      dtc has new checks for I2C buses. Fix the warnings in unit-addresses.
      
      arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dtb: Warning (i2c_bus_reg): /soc/i2c@ffc04000/adxl345@0: I2C bus unit address format error, expected "53"
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NDinh Nguyen <dinguyen@kernel.org>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      8ac08053
    • R
      ARM: dts: aspeed: Fix I2C bus warnings · 11d78428
      Rob Herring 提交于
      [ Upstream commit 1426d40e11f730e0c0fd3700a7048082f87b0e6e ]
      
      dtc has new checks for I2C buses. The ASpeed dts files have a node named
      'i2c' which causes a false positive warning. As the node is a 'simple-bus',
      correct the node name to be 'bus' to fix the warnings.
      
      arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-opp-romulus.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-ast2500-evb.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-arm-centriq2400-rep.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-opp-zaius.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dtb: Warning (i2c_bus_bridge): /ahb/apb/i2c@1e78a000: incorrect #size-cells for I2C bus
      
      Cc: Joel Stanley <joel@jms.id.au>
      Cc: Andrew Jeffery <andrew@aj.id.au>
      Cc: linux-aspeed@lists.ozlabs.org
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NJoel Stanley <joel@jms.id.au>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      11d78428
    • R
      ARM: dts: bcm: Fix SPI bus warnings · 5a8130ed
      Rob Herring 提交于
      [ Upstream commit ab0b47d2eff413d60b0a1fc0c1f87f87f0d7f375 ]
      
      dtc has new checks for SPI buses. Fix the warnings in node names.
      
      arch/arm/boot/dts/bcm53340-ubnt-unifi-switch8.dtb: Warning (spi_bus_bridge): /axi@18000000/qspi@27200: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/bcm958525er.dtb: Warning (spi_bus_bridge): /axi/qspi@27200: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/bcm958525xmc.dtb: Warning (spi_bus_bridge): /axi/qspi@27200: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/bcm958622hr.dtb: Warning (spi_bus_bridge): /axi/qspi@27200: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/bcm958625hr.dtb: Warning (spi_bus_bridge): /axi/qspi@27200: node name for SPI buses should be 'spi'
      arch/arm/boot/dts/bcm988312hr.dtb: Warning (spi_bus_bridge): /axi/qspi@27200: node name for SPI buses should be 'spi'
      
      Cc: Ray Jui <rjui@broadcom.com>
      Cc: Scott Branden <sbranden@broadcom.com>
      Cc: Jon Mason <jonmason@broadcom.com>
      Cc: bcm-kernel-feedback-list@broadcom.com
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NSasha Levin <sashal@kernel.org>
      5a8130ed