Luca Weiss [Mon, 28 Nov 2022 17:16:23 +0000 (18:16 +0100)]
ARM: dts: qcom: msm8974: clean up USB nodes
Rename "otg" label to "usb" to group it with other usb nodes and also
because "usb" makes more sense for a USB controller.
And now we can also better use the usb_hsX_phy labels instead of having
the ulpi -> phy@X structure in every dts.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221128171623.825572-1-luca@z3ntu.xyz
Dmitry Baryshkov [Mon, 28 Nov 2022 13:15:50 +0000 (15:15 +0200)]
arm: dts: qcom: use qcom,msm8974pro for pro devices
Use new qcom,msm8974pro compatible string instead of qcom,msm8974 to
clearly mark that the device is using the Pro version of the SoC.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221128131550.858724-2-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Mon, 28 Nov 2022 13:15:49 +0000 (15:15 +0200)]
dt-bindings: arm: qcom: split MSM8974 Pro and MSM8974
The MSM8974 Pro (AC) and bare MSM8974 are slightly different platforms.
Split the compat strings accordingly to clearly specify the platform
used by the device.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221128131550.858724-1-dmitry.baryshkov@linaro.org
Krzysztof Kozlowski [Fri, 25 Nov 2022 14:42:09 +0000 (15:42 +0100)]
ARM: dts: qcom: align LED node names with dtschema
The node names should be generic and DT schema expects certain pattern:
qcom-ipq4018-ap120c-ac.dtb: leds: 'wlan2g', 'wlan5g' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221125144209.477328-2-krzysztof.kozlowski@linaro.org
Parikshit Pareek [Fri, 18 Nov 2022 02:51:57 +0000 (08:21 +0530)]
dt-bindings: arm: qcom: Document additional sa8540p device
Add the qdrive3 ride device to the valid device compatibles found on the
sa8540p platform.
Signed-off-by: Parikshit Pareek <quic_ppareek@quicinc.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221118025158.16902-2-quic_ppareek@quicinc.com
Konrad Dybcio [Mon, 14 Nov 2022 09:56:51 +0000 (10:56 +0100)]
dt-bindings: arm: qcom: Add Xperia 5 IV (PDX224)
Add a compatible for Sony Xperia 5 IV.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221114095654.34561-1-konrad.dybcio@linaro.org
Marijn Suijten [Fri, 11 Nov 2022 12:01:53 +0000 (13:01 +0100)]
dt-bindings: arm: qcom: Document msm8956 and msm8976 SoC and devices
Note that msm8976 is omitted as a compatible, since there are currently
no boards/devices using it.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221111120156.48040-9-angelogioacchino.delregno@collabora.com
Dzmitry Sankouski [Sat, 12 Nov 2022 20:32:59 +0000 (23:32 +0300)]
dt-bindings: arm: add xiaomi,sagit board based on msm8998 chip
Add xiaomi,sagit board (Xiaomi Mi 6) binding.
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221112203300.536010-2-dsankouski@gmail.com
Richard Acayan [Fri, 11 Nov 2022 00:18:17 +0000 (19:18 -0500)]
dt-bindings: arm: qcom: add sdm670 and pixel 3a compatible
The Snapdragon 670 and Pixel 3a initial device trees are about to be
added. Add the compatible strings for the board.
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221111001818.124901-3-mailingradian@gmail.com
Richard Acayan [Fri, 11 Nov 2022 00:18:16 +0000 (19:18 -0500)]
dt-bindings: arm: cpus: add qcom kryo 360 compatible
The Snapdragon 670 uses CPUs named Kryo 360 silver and Kryo 360 gold.
Add the compatible string in the documentation.
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221111001818.124901-2-mailingradian@gmail.com
Krzysztof Kozlowski [Wed, 9 Nov 2022 10:51:40 +0000 (11:51 +0100)]
ARM: dts: qcom-msm8960-cdp: align TLMM pin configuration with DT schema
DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
[bjorn: Fixed up expected typo in cs-pins function]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221109105140.48196-3-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Wed, 9 Nov 2022 10:51:39 +0000 (11:51 +0100)]
ARM: dts: qcom-msm8960: use define for interrupt constants
Replace GIC_PPI, GIC_SPI and interrupt type numbers with appropriate
defines.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221109105140.48196-2-krzysztof.kozlowski@linaro.org
Konrad Dybcio [Mon, 7 Nov 2022 12:09:17 +0000 (13:09 +0100)]
dt-bindings: arm: qcom: Document SM6375 & Xperia 10 IV
Add compatibles for Sony Xperia 10 IV (PDX225) and the SM6375 SoC
it's based on.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107120920.12593-2-konrad.dybcio@linaro.org
Krzysztof Kozlowski [Mon, 7 Nov 2022 18:59:31 +0000 (19:59 +0100)]
ARM: dts: qcom-apq8060: align TLMM pin configuration with DT schema
DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107185931.22075-2-krzysztof.kozlowski@linaro.org
Rayyan Ansari [Sun, 2 Oct 2022 12:28:53 +0000 (15:28 +0300)]
ARM: dts: qcom: msm8226: Add MMCC node
Add a node for the Multimedia Clock Controller found on MSM8226.
Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221002122859.75525-2-matti.lehtimaki@gmail.com
Sheng-Liang Pan [Mon, 7 Nov 2022 09:43:41 +0000 (17:43 +0800)]
dt-bindings: arm: qcom: Separate LTE/WIFI SKU for sc7280-evoker
evoker will have WIFI/LTE SKU, separate it for each different setting.
Signed-off-by: Sheng-Liang Pan <sheng-liang.pan@quanta.corp-partner.google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107173954.v11.1.Ic800ee7b604bcb0519ca404600d7be2352725686@changeid
Melody Olvera [Wed, 26 Oct 2022 20:04:27 +0000 (13:04 -0700)]
dt-bindings: arm: qcom: Document QDU1000/QRU1000 SoCs and boards
Document the QDU1000 and QRU1000 SoC bindings and the boards that use
them.
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221026200429.162212-3-quic_molvera@quicinc.com
Luca Weiss [Mon, 31 Oct 2022 18:24:55 +0000 (19:24 +0100)]
ARM: dts: qcom: pm8941: fix iadc node
The spmi-pmic bindings require the iadc node to be named just 'adc'.
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221031182456.952648-2-luca@z3ntu.xyz
Luca Weiss [Mon, 31 Oct 2022 18:10:22 +0000 (19:10 +0100)]
ARM: dts: qcom: pm8941: fix vadc channel node names
The spmi-vadc bindings require the '@' in the node.
Additionally change the node name to adc-chan which both makes it a
generic node name and also removes the underscore from it.
At the same time sort the nodes by reg value.
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221031181022.947412-2-luca@z3ntu.xyz
Luca Weiss [Mon, 31 Oct 2022 18:10:21 +0000 (19:10 +0100)]
ARM: dts: qcom: pma8084: fix vadc channel node names
The spmi-vadc bindings require the '@' in the node.
Additionally change the node name to adc-chan which both makes it a
generic node name and also removes the underscore from it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221031181022.947412-1-luca@z3ntu.xyz
Luca Weiss [Mon, 31 Oct 2022 17:57:16 +0000 (18:57 +0100)]
ARM: dts: qcom: pm8941: rename misc node name
The spmi-pmic bindings is now using usb-detect@ for this node, so adjust
the dts to match.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221031175717.942237-3-luca@z3ntu.xyz
Luca Weiss [Mon, 31 Oct 2022 17:51:17 +0000 (18:51 +0100)]
ARM: dts: qcom: pm8941: adjust coincell node name to bindings
The spmi-pmic bindings say that pm8941-coincell should be called
'charger'.
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221031175119.939860-2-luca@z3ntu.xyz
Luca Weiss [Mon, 31 Oct 2022 17:51:16 +0000 (18:51 +0100)]
ARM: dts: qcom: pm8226: fix regulators node name
Adjust the node name to match bindings and fix the validation warning.
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221031175119.939860-1-luca@z3ntu.xyz
Marek Vasut [Thu, 13 Oct 2022 22:12:41 +0000 (00:12 +0200)]
ARM: dts: qcom: Drop MMCI interrupt-names
The pl18x MMCI driver does not use the interrupt-names property,
the binding document has been updated to recommend this property
be unused, remove it.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013221242.218808-2-marex@denx.de
Dmitry Baryshkov [Fri, 30 Sep 2022 21:20:52 +0000 (00:20 +0300)]
ARM: dts: qcom: mdm9615: drop unit ids from PMIC nodes
On MDM9615 the PMICs are connected using SSBI devices, which do not have
any addressing scheme. Drop the unused unit ids from PMIC device nodes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930212052.894834-2-dmitry.baryshkov@linaro.org
Krzysztof Kozlowski [Fri, 4 Nov 2022 19:08:40 +0000 (15:08 -0400)]
ARM: dts: qcom: sdx65: add dedicated IMEM and syscon compatibles
Add proper compatibles to the IMEM device node:
1. syscon as required by the bindings, even though it is not currently
used,
2. dedicated compatible as required for syscon and simple-mfd nodes.
Align the node name to match IMEM type of device - SRAM.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221104190840.134733-2-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Fri, 4 Nov 2022 19:08:39 +0000 (15:08 -0400)]
dt-bindings: sram: qcom,imem: document SDX65
Add compatible for SDX65 IMEM.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221104190840.134733-1-krzysztof.kozlowski@linaro.org
Christian Marangi [Mon, 24 Oct 2022 23:38:17 +0000 (01:38 +0200)]
ARM: dts: qcom: ipq8064: disable mmc-ddr-1_8v for sdcc1
It was reported non working mmc with this option enabled.
Both mmc for ipq8064 are supplied by a fixed 3.3v regulator so mmc can't
be run at 1.8v.
Disable it to restore correct functionality of this SoC feature.
Tested-by: Hendrik Koerner <koerhen@web.de>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221024233817.27410-1-ansuelsmth@gmail.com
Neil Armstrong [Fri, 21 Oct 2022 15:27:57 +0000 (17:27 +0200)]
ARM: dts: qcom-msm8660: align RPM regulators node name with bindings
Node names should be generic and new DT schema expects RPM regulators
node to be just "regulators".
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221005-mdm9615-pinctrl-yaml-v3-5-e5e045644971@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 15:27:54 +0000 (17:27 +0200)]
ARM: dts: qcom: mdm9615: wp8548-mangoh-green: fix sx150xq node names and probe-reset property
Fix the sx150xq node names to pinctrl and use the right probe-reset property.
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221005-mdm9615-pinctrl-yaml-v3-2-e5e045644971@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 15:27:53 +0000 (17:27 +0200)]
ARM: dts: qcom: mdm9615: align pinctrl subnodes with dt-schema bindings
Align the MDM9615 DT to the expected subnodes namings in the dt-schema
bindings.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221005-mdm9615-pinctrl-yaml-v3-1-e5e045644971@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 09:06:47 +0000 (11:06 +0200)]
ARM: dts: qcom: mdm9615: remove useless amba subnode
The separate amba device node doesn't add anything significant to the
DT. The OF parsing code already creates amba_device or platform_device
depending on the compatibility lists.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-11-dac2dfaac703@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 09:06:46 +0000 (11:06 +0200)]
ARM: dts: qcom: mdm9615: remove invalid interrupt-names from pl18x mmc nodes
This solves the 'interrupt-names' was unexpected dtbs check error.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-10-dac2dfaac703@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 09:06:40 +0000 (11:06 +0200)]
ARM: dts: qcom: mdm9615: remove invalid spi-max-frequency gsbi3_spi node
The spi-max-frequency property has nothing to do in the controller's node,
remove it and fix the 'spi-max-frequency' was unexpected dtbs check error.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-4-dac2dfaac703@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 09:06:39 +0000 (11:06 +0200)]
ARM: dts: qcom: mdm9615: add missing reg in cpu@0 node
Fixes cpu@0: 'reg' is a required property from dtbs check.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-3-dac2dfaac703@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 09:06:38 +0000 (11:06 +0200)]
ARM: dts: qcom: mdm9615*: add SPDX-License-Identifier
Replace the license blob by a clean SPDX-License-Identifier with GPL2+
or MIT even if X11 is specified in the original blob since the actual
license text corresponds to a MIT license.
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-2-dac2dfaac703@linaro.org
Neil Armstrong [Fri, 21 Oct 2022 09:06:37 +0000 (11:06 +0200)]
dt-bindings: arm: qcom: move swir,mangoh-green-wp8548 board documentation to qcom.yaml
Document into the main qcom.yaml as conversion from swir.txt to dt-schema.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220928-mdm9615-dt-schema-fixes-v4-1-dac2dfaac703@linaro.org
Krzysztof Kozlowski [Mon, 17 Oct 2022 01:46:53 +0000 (21:46 -0400)]
ARM: dts: qcom: ipq8064-rb3011: Add SoC compatible
Add qcom,ipq8064 compatible fallback for the SoC.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221017014653.12970-2-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Mon, 17 Oct 2022 01:46:52 +0000 (21:46 -0400)]
dt-bindings: arm: qcom: document Mikrotik RB3011 board
Add compatible for existing Mikrotik RB3011 board.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221017014653.12970-1-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Mon, 17 Oct 2022 01:22:25 +0000 (21:22 -0400)]
ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema
DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix. All
nodes for GPIOs must also define the function property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221017012225.8579-2-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 13 Oct 2022 15:54:18 +0000 (11:54 -0400)]
ARM: dts: qcom: ipq4018-jalapeno: Add SoC compatible
Add qcom,ipq4018 compatible fallback for the SoC.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013155418.47577-4-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 13 Oct 2022 15:54:17 +0000 (11:54 -0400)]
ARM: dts: qcom: ipq4018-ap120c-ac: Add SoC compatible
Add qcom,ipq4018 compatible fallback for the SoC.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013155418.47577-3-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 13 Oct 2022 15:54:16 +0000 (11:54 -0400)]
dt-bindings: arm: qcom: Document IPQ4018 boards
Add compatibles for existing boards with IPQ4018 SoC: ALFA Network
AP120C-AC and 8devices Jalapeno.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013155418.47577-2-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 13 Oct 2022 15:54:15 +0000 (11:54 -0400)]
dt-bindings: vendor-prefixes: Add ALFA Network
Add vendor prefix for ALFA Network Inc.
https://www.alfa.com.tw/
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013155418.47577-1-krzysztof.kozlowski@linaro.org
Luca Weiss [Sun, 2 Oct 2022 12:28:58 +0000 (15:28 +0300)]
ARM: dts: qcom: msm8974: Add CCI bus
Add a node for the Camera Control Interface I2C bus found on MSM8974.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221002122859.75525-7-matti.lehtimaki@gmail.com
Rayyan Ansari [Sun, 2 Oct 2022 12:28:57 +0000 (15:28 +0300)]
ARM: dts: qcom: msm8226: Add CCI bus
Add a node for the Camera Control Interface I2C bus found on MSM8226.
Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221002122859.75525-6-matti.lehtimaki@gmail.com
Dmitry Baryshkov [Tue, 27 Sep 2022 11:38:26 +0000 (14:38 +0300)]
ARM: dts: qcom-ipq8064: use pll4 clock for the gcc device
Add a link to LCC's PLL4 clock to the GCC device node following the
bindings (and driver needs).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927113826.246241-4-dmitry.baryshkov@linaro.org
Luca Weiss [Sat, 24 Sep 2022 15:29:37 +0000 (17:29 +0200)]
ARM: dts: qcom: Add support for Huawei Watch
Add support for this smartwatch, based on Snapdragon 400 SoC.
Currently supported functionality:
* Internal storage
* USB
* Charger
* Power button
* Bluetooth
* Wifi
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220924152937.4076-2-luca@z3ntu.xyz
Luca Weiss [Sat, 24 Sep 2022 15:29:36 +0000 (17:29 +0200)]
dt-bindings: arm: qcom: Document huawei,sturgeon device
Document the Huawei Watch ("sturgeon") which is a smartwatch based on
Snapdragon 400 SoC.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220924152937.4076-1-luca@z3ntu.xyz
Dmitry Baryshkov [Sat, 24 Sep 2022 09:43:46 +0000 (12:43 +0300)]
ARM: dts: qcom-apq8064: change HDMI PHY node name to generic one
Change HDMI PHY node names from custom 'hdmi-phy' to the generic 'phy'.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220924094347.178666-2-dmitry.baryshkov@linaro.org
Luca Weiss [Thu, 13 Oct 2022 19:06:57 +0000 (21:06 +0200)]
ARM: dts: qcom: apq8064: fix coresight compatible
There's a typo missing the arm, prefix of arm,coresight-etb10. Fix it to
make devicetree validation happier.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Fixes: 7a5c275fd821 ("ARM: dts: qcom: Add apq8064 CoreSight components")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013190657.48499-3-luca@z3ntu.xyz
Luca Weiss [Thu, 13 Oct 2022 19:06:56 +0000 (21:06 +0200)]
ARM: dts: qcom: apq8084: fix compatible for l2-cache
The compatible "qcom,arch-cache" for l2-cache does not exist, and all
other Qualcomm boards use just "cache" for it. Fix it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013190657.48499-2-luca@z3ntu.xyz
Luca Weiss [Thu, 13 Oct 2022 19:06:55 +0000 (21:06 +0200)]
ARM: dts: qcom: ipq8064-rb3011: fix nand node validation
The devicetree documentation for the nand node requires the subnode be
called nand@ and no compatible is needed.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221013190657.48499-1-luca@z3ntu.xyz
Krzysztof Kozlowski [Sun, 2 Oct 2022 09:20:00 +0000 (11:20 +0200)]
ARM: dts: qcom: correct indentation
Do not use spaces for indentation.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221002092000.68844-1-krzysztof.kozlowski@linaro.org
Matti Lehtimäki [Tue, 27 Sep 2022 21:49:39 +0000 (00:49 +0300)]
ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)
Add a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T530) wifi tablet
based on the apq8026 platform.
Currently supported are accelerometer sensor, hall sensor,
internal storage, physical buttons (power & volume), screen
(based on simple-framebuffer set up by the bootloader), sdcard,
touchscreen and USB.
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927214940.244480-4-matti.lehtimaki@gmail.com
Matti Lehtimäki [Tue, 27 Sep 2022 21:49:38 +0000 (00:49 +0300)]
dt-bindings: arm: qcom: Document samsung,matisse-wifi device
Add binding documentation for Samsung Galaxy Tab 4 10.1 (2014) wifi
tablet which is based on Snapdragon 400 (apq8026) SoC.
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927214940.244480-3-matti.lehtimaki@gmail.com
Matti Lehtimäki [Tue, 27 Sep 2022 21:49:37 +0000 (00:49 +0300)]
ARM: dts: qcom: pm8226: Add node for the GPIOs
The PM8226 provides 8 GPIOs. Add a node to support them.
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927214940.244480-2-matti.lehtimaki@gmail.com
Luca Weiss [Sun, 25 Sep 2022 19:06:21 +0000 (21:06 +0200)]
ARM: dts: qcom: pmx65: use node name "gpio" for spmi-gpio
All other usages of qcom,spmi-gpio use the gpio@ node name, and this is
also validated by the dt binding check. Fix it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220925190622.111505-1-luca@z3ntu.xyz
Luca Weiss [Sun, 25 Sep 2022 17:56:30 +0000 (19:56 +0200)]
ARM: dts: qcom: msm8974-sony-*: fix multi-led node name
The name rgb-led is not allowed, multi-led is supposed to be used.
<snip>/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine-amami.dtb: pm8941@1: pwm: 'rgb-led' does not match any of the regexes: '^led@[0-9a-f]$', 'pinctrl-[0-9]+'
From schema: <snip>/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220925175631.103535-1-luca@z3ntu.xyz
Luca Weiss [Sun, 25 Sep 2022 17:32:03 +0000 (19:32 +0200)]
ARM: dts: qcom: msm8974: Remove bogus *-cells from smd-edge
The bindings check complains that #address-cells and #size-cells
shouldn't be in the smd-edge node. Remove it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220925173203.96117-1-luca@z3ntu.xyz
Luca Weiss [Sun, 25 Sep 2022 16:13:17 +0000 (18:13 +0200)]
ARM: dts: qcom: apq8084: add tsens interrupt
Add the interrupt for tsens, based on the information from downstream
msm-3.4 dts.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220925161317.76356-2-luca@z3ntu.xyz
Luca Weiss [Sun, 25 Sep 2022 16:13:16 +0000 (18:13 +0200)]
ARM: dts: qcom: msm8974: fix tsens compatible
Bindings mandate the use of the fallback compatible qcom,tsens-v0_1 for
msm8974. Add it to fix the warning.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220925161317.76356-1-luca@z3ntu.xyz
Luca Weiss [Sat, 24 Sep 2022 15:44:22 +0000 (17:44 +0200)]
ARM: dts: qcom: add 'chassis-type' property
Add the chassis-type property to arm32 Qualcomm watches, phones and
tablets.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220924154422.9896-1-luca@z3ntu.xyz
Luca Weiss [Sat, 24 Sep 2022 14:51:25 +0000 (16:51 +0200)]
ARM: dts: qcom: fix node name for rpm-msg-ram
Adjust the name to match the bindings and fix the following validation
error:
<snip>/arch/arm/boot/dts/qcom-apq8026-huawei-sturgeon.dtb: memory@
fc428000: $nodename:0: 'memory@
fc428000' does not match '^sram(@.*)?'
From schema: <snip>/Documentation/devicetree/bindings/sram/sram.yaml
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220924145126.24978-1-luca@z3ntu.xyz
Dmitry Baryshkov [Sat, 24 Sep 2022 09:01:01 +0000 (12:01 +0300)]
ARM: dts: qcom-msm8974: change DSI PHY node name to generic one
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220924090108.166934-3-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Sat, 24 Sep 2022 09:01:00 +0000 (12:01 +0300)]
ARM: dts: qcom-apq8064: change DSI PHY node name to generic one
Change DSI PHY node names from custom 'dsi-phy' to the generic 'phy'.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220924090108.166934-2-dmitry.baryshkov@linaro.org
Krzysztof Kozlowski [Tue, 20 Sep 2022 15:04:14 +0000 (17:04 +0200)]
ARM: dts: qcom: msm8974: switch TCSR mutex to MMIO
The TCSR mutex bindings allow device to be described only with address
space (so it uses MMIO, not syscon regmap). This seems reasonable, as
TCSR mutex is actually a dedicated IO address space, and it also fixes
DT schema checks:
qcom-msm8974-sony-xperia-rhine-amami.dtb: tcsr-mutex: 'reg' is a required property
qcom-msm8974-sony-xperia-rhine-amami.dtb: tcsr-mutex: 'syscon' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Luca Weiss <luca@z3ntu.xyz> # fairphone-fp2
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220920150414.637634-4-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Tue, 20 Sep 2022 15:04:13 +0000 (17:04 +0200)]
ARM: dts: qcom: msm8974: add missing TCSR syscon compatible
TCSR syscon node should come with dedicated compatible.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Luca Weiss <luca@z3ntu.xyz> # fairphone-fp2
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220920150414.637634-3-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 8 Sep 2022 08:09:36 +0000 (10:09 +0200)]
ARM: dts: qcom: use generic node name "gpio" in SPMI PMIC
GPIO controller nodes are named by convention just "gpio", not "gpios".
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220908080938.29199-1-krzysztof.kozlowski@linaro.org
Bryan O'Donoghue [Wed, 7 Sep 2022 00:00:57 +0000 (01:00 +0100)]
ARM: dts: qcom: msm8974: Drop redundant phy-names from DSI controller
phy-names has been marked deprecated. Remove it from the msm8974 DSI
controller block.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220907000105.786265-4-bryan.odonoghue@linaro.org
Bryan O'Donoghue [Wed, 7 Sep 2022 00:00:56 +0000 (01:00 +0100)]
ARM: dts: qcom: apq8064: Drop redundant phy-names from DSI controller
phy-names has been marked deprecated. Remove it from the apq8064 DSI
controller block.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220907000105.786265-3-bryan.odonoghue@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:36 +0000 (21:52 +0300)]
ARM: dts: qcom: msm8660: drop qcom, prefix from SSBI node name
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-24-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:35 +0000 (21:52 +0300)]
ARM: dts: qcom: msm8660: drop unit ids from PMIC nodes
On MSM8660 the PMICs are connected using SSBI devices, which do not have
any addressing scheme. Drop the unused unit ids from PMIC device nodes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-23-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:34 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8060-dragonboard: use labels to patch device tree
Use labels to add device-specific properties to DT nodes rather than
duplicating SoC DT structure in the device DT.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-22-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:33 +0000 (21:52 +0300)]
ARM: dts: qcom: msm8660: move pm8058 LED devices to the main DT file
Declare PM8058 LED devices in the main msm8660 DT file to allow them to
be used by other devices.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-21-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:32 +0000 (21:52 +0300)]
ARM: dts: qcom: msm8960: drop amba device node
The separate amba device node doesn't add anything significant to the
DT. The OF parsing code already creates amba_device or platform_device
depending on the compatibility lists. Drop the amba node and reorder
sdcc nodes according to node addresses.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-20-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:31 +0000 (21:52 +0300)]
ARM: dts: qcom: msm8960-cdp: drop unit ids from regulator node
Drop the unused unit id from the gpio-regulator node, there is no
addessing scheme in the /regulators node.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-19-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:30 +0000 (21:52 +0300)]
ARM: dts: qcom: msm8960: drop qcom, prefix from SSBI node name
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-18-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:29 +0000 (21:52 +0300)]
ARM: dts: qcom: msm8960: drop unit ids from PMIC nodes
On MSM8960 the PMICs are connected using SSBI devices, which do not have
any addressing scheme. Drop the unused unit ids from PMIC device nodes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-17-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:28 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064: fix the riva-pil node id
Fix the address of the riva-pil node. The first region address is
0x3200800, so the node should also be called riva-pil@
3200800.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-16-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:27 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064: drop qcom, prefix from SSBI node name
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-15-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:26 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064: drop unit ids from PMIC nodes
On APQ8064 the PMICs are connected using SSBI devices, which do not have
any addressing scheme. Drop the unused unit ids from PMIC device nodes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-14-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:25 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064: drop amba device node
The separate amba device node doesn't add anything significant to the
DT. The OF parsing code already creates amba_device or platform_device
depending on the compatibility lists. Drop the amba node and reorder
sdcc and sdcc bam nodes according to node addresses.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-13-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:24 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-sony-xperia-lagan-yuga: use labels to patch device tree
Use labels to add device-specific properties to DT nodes rather than
duplicating SoC DT structure in the device DT.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-12-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:23 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-cm-qs600: pull SDCC pwrseq node up one level
There are no need to add additional simple-bus nodes just to populate
a single pwrseq device. Pull it up one level into /. While we are at it
also fix node name replacing underscore with dash.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-11-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:22 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-cm-qs600: pull 3p3v regulator from soc node
The 3.3V regulator is not part of the SoC, so pull it from the SoC
node.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-10-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:21 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-cm-qs600: use labels to patch device tree
Use labels to add device-specific properties to DT nodes rather than
duplicating SoC DT structure in the device DT.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-9-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:20 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-nexus7-flo: fix node name for ext 3p3v regulator
Rename ext 3p3v regulator node, fixing the 'node has a unit name, but no
reg or ranges property' warning.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-8-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:19 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-flo: use labels to patch device tree
Use labels to add device-specific properties to DT nodes rather than
duplicating SoC DT structure in the device DT.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-7-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:18 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-ifc6410: pull SDCC pwrseq node up one level
There are no need to add additional simple-bus nodes just to populate
a single pwrseq device. Pull it up one level into /. While we are at it
also fix node name replacing underscore with dash.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-6-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:17 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-ifc6410: fix user1 LED node name
There are no address-cells for the gpio-leds child nodes, so rename
led@1 node to led-user1.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-5-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:16 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-ifc6410: pull ext-3p3v regulator from soc node
The ext 3.3V regulator is not part of the SoC, so pull it from the SoC
node.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-4-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:15 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064-ifc6410: use labels to patch device tree
Use labels to add device-specific properties to DT nodes rather than
duplicating SoC DT structure in the device DT.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-3-dmitry.baryshkov@linaro.org
Dmitry Baryshkov [Fri, 30 Sep 2022 18:52:14 +0000 (21:52 +0300)]
ARM: dts: qcom: apq8064: disable HDMI nodes by default
Disable HDMI nodes. Individual board can enable them if required. The
only APQ8064 board that has working HDMI output is IFC6410, which
enables these devices explicitly.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-2-dmitry.baryshkov@linaro.org
Krzysztof Kozlowski [Thu, 6 Oct 2022 12:46:31 +0000 (14:46 +0200)]
ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema
DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221006124659.217540-7-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 6 Oct 2022 12:46:30 +0000 (14:46 +0200)]
ARM: dts: qcom: msm8226: align TLMM pin configuration with DT schema
DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221006124659.217540-6-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 6 Oct 2022 12:46:29 +0000 (14:46 +0200)]
ARM: dts: qcom: sdx55: align TLMM pin configuration with DT schema
DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix. Schema
also requires 'function' property, so two nodes for the same gpio (mux
and config) should be merged into one.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221006124659.217540-5-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Thu, 6 Oct 2022 12:46:28 +0000 (14:46 +0200)]
ARM: dts: qcom: sdx55: add gpio-ranges to TLMM pinctrl
Add required gpio-ranges property to TLMM pinctrl node:
qcom-sdx55-mtp.dtb: pinctrl@
f100000: 'gpio-ranges' is a required property
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221006124659.217540-4-krzysztof.kozlowski@linaro.org
Krzysztof Kozlowski [Mon, 26 Sep 2022 09:21:04 +0000 (11:21 +0200)]
ARM: dts: qcom: align RPM regulators node name with bindings
Node names should be generic and new DT schema expects RPM regulators
node to be just "regulators".
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220926092104.111449-4-krzysztof.kozlowski@linaro.org
Linus Torvalds [Sun, 16 Oct 2022 22:36:24 +0000 (15:36 -0700)]
Linux 6.1-rc1