summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts
AgeCommit message (Collapse)AuthorFilesLines
2022-12-06arm64: dts: qcom: clean up 'regulator-allowed-modes' indentationJohan Hovold1-6/+4
When recently adding the missing 'regulator-allowed-modes' properties it appears that the binding example with its four-spaces indentation (corresponding to a single tab, which is still to little) was copied verbatim. Drop the unnecessary first line break after 'regulator-allowed-modes' properties and indent the single remaining continuation line properly. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221116102054.4673-3-johan+linaro@kernel.org
2022-11-11arm64: dts: qcom: sm7225-fairphone-fp4: Enable SD cardLuca Weiss1-2/+37
Fairphone 4 uses sdhc_2 for the SD card, configure the pins for it and enable it. The regulators which are exclusively used for SDHCI have their maximum voltage decreased to what downstream sets on the consumer side, like on many other platforms and allowed to set the load. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221110151507.53650-1-luca.weiss@fairphone.com
2022-09-06arm64: dts: qcom: sm7225-fairphone-fp4: Add pm7250b PMICLuca Weiss1-0/+67
The PM7250B is primarily used for charger and fuel gauge on Fairphone 4 but also has some thermal zones that we can configure already. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20220902111055.106814-3-luca.weiss@fairphone.com
2022-07-02arm64: dts: qcom: align gpio-key node names with dtschemaKrzysztof Kozlowski1-1/+1
The node names should be generic and DT schema expects certain pattern (e.g. with key/button/switch). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220616005333.18491-21-krzysztof.kozlowski@linaro.org
2022-06-27arm64: dts: qcom: align PMIC GPIO pin configuration with DT schemaKrzysztof Kozlowski1-1/+1
DT schema expects PMIC GPIO pin configuration nodes to be named with '-state' suffix. Optional children should be either 'pinconf' or followed with '-pins' suffix. This fixes dtbs_check warnings like: sdm845-xiaomi-beryllium.dtb: gpios@c000: 'vol-up-active' does not match any of the regexes: '-state$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220507194913.261121-6-krzysztof.kozlowski@linaro.org
2022-04-12arm64: dts: qcom: sm7225-fairphone-fp4: Enable wifiLuca Weiss1-0/+10
Configure regulators used by the wifi hardware and enable it. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220325101841.172304-2-luca.weiss@fairphone.com
2022-04-12arm64: dts: qcom: sm7225-fairphone-fp4: Enable UFSLuca Weiss1-0/+18
Configure and enable the nodes for UFS that are used for internal storage on FP4. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220321133318.99406-7-luca.weiss@fairphone.com
2022-04-11arm64: dts: qcom: sm7225-fairphone-fp4: Add AW8695 hapticsLuca Weiss1-0/+29
Add a node for the haptics driver found on the phone. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220408115311.237039-3-luca.weiss@fairphone.com
2022-04-11arm64: dts: qcom: sm6350: Fix naming of uart9Luca Weiss1-2/+2
The uart9 was previously mistakenly called uart2. Fix this. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220408114205.234635-1-luca.weiss@fairphone.com
2022-01-31arm64: dts: qcom: sm7225-fairphone-fp4: Configure WLEDLuca Weiss1-0/+9
WLED is used for controlling the display backlight on this phone, so configure the node and enable it. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211229170358.2457006-5-luca.weiss@fairphone.com
2021-12-13arm64: dts: qcom: sm7225-fairphone-fp4: Enable ADSP, CDSP & MPSSLuca Weiss1-0/+31
Enable the remoteprocs found on the SoC and add a qcom,rmtfs-mem node. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211213082208.21492-9-luca.weiss@fairphone.com
2021-11-17arm64: dts: qcom: Add missing 'chassis-type'sStephan Gerhold1-0/+1
Add the "chassis-type" to msm8916-samsung-serranove and sm7225-fairphone-fp4 that were posted before the patch that added the chassis-type to existing device trees, but merged after it. Also, looks like sdm636-sony-xperia-ganges-mermaid was missing in commit eaa744b1c101 ("arm64: dts: qcom: add 'chassis-type' property") so add it there as well. Cc: Luca Weiss <luca@z3ntu.xyz> Cc: Arnaud Ferraris <arnaud.ferraris@collabora.com> Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211025102224.23746-1-stephan@gerhold.net
2021-10-23arm64: dts: qcom: sm7225: Add device tree for Fairphone 4Luca Weiss1-0/+320
Add device tree for the Fairphone 4 smartphone which is based on Snapdragon 750G (sm7225) which is basically sm6350. Currently supported are UART, physical buttons (power & volume), screen (based on simple-framebuffer set up by the bootloader), regulators and USB. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211007212444.328034-12-luca@z3ntu.xyz