#
d044c0e3 |
| 05-Jun-2024 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
arm64: dts: qcom: sm6350-pdx213: correct touchscreen interrupt flags
Interrupt flags 0x2008 looks like some downstream copy-paste, because generic GPIOLIB code, used by Qualcomm pin controller drive
arm64: dts: qcom: sm6350-pdx213: correct touchscreen interrupt flags
Interrupt flags 0x2008 looks like some downstream copy-paste, because generic GPIOLIB code, used by Qualcomm pin controller drivers, ignores flags outside of IRQ_TYPE_SENSE_MASK. Probably the intention was to pass just 0x8, so IRQ_TYPE_LEVEL_LOW.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20240605160032.150587-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
show more ...
|
#
6814d454 |
| 30-May-2024 |
Luca Weiss <luca.weiss@fairphone.com> |
arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB role switching
Configure the Type-C and VBUS regulator on PM7250B and wire it up to the USB PHY, so that USB role and orientation switching works.
arm64: dts: qcom: sm7225-fairphone-fp4: Enable USB role switching
Configure the Type-C and VBUS regulator on PM7250B and wire it up to the USB PHY, so that USB role and orientation switching works.
For now USB Power Delivery properties are skipped / disabled, so that the (presumably) bootloader-configured charger doesn't get messed with and we can charge the phone with at least some amount of power.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240530-fp4-tcpm-v3-3-612d4bbd5e09@fairphone.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
show more ...
|
#
a3752cc3 |
| 07-Apr-2023 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
arm64: dts: qcom: sm6350: remove superfluous "input-enable"
Pin configuration property "input-enable" was used with the intention to disable the output, but this is done by default by Linux drivers.
arm64: dts: qcom: sm6350: remove superfluous "input-enable"
Pin configuration property "input-enable" was used with the intention to disable the output, but this is done by default by Linux drivers. Since patch ("dt-bindings: pinctrl: qcom: tlmm should use output-disable, not input-enable") the property is not accepted anymore.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230407175807.124394-8-krzysztof.kozlowski@linaro.org
show more ...
|
#
e18b8295 |
| 06-Mar-2023 |
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> |
arm64: dts: qcom: drop redundant line breaks
Remove trailing, redundant line breaks.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@li
arm64: dts: qcom: drop redundant line breaks
Remove trailing, redundant line breaks.
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/20230306081430.28491-2-krzysztof.kozlowski@linaro.org
show more ...
|
#
a40f5ae1 |
| 22-Dec-2022 |
Marijn Suijten <marijn.suijten@somainline.org> |
arm64: dts: qcom: sm6350-lena: Flatten gpio-keys pinctrl state
Pinctrl states typically collate multiple related pins. In the case of gpio-keys there's no hardware-defined relation at all except al
arm64: dts: qcom: sm6350-lena: Flatten gpio-keys pinctrl state
Pinctrl states typically collate multiple related pins. In the case of gpio-keys there's no hardware-defined relation at all except all pins representing a key; and especially on Sony's lena board there's only one pin regardless. Flatten it similar to other boards [1].
As a drive-by fix, clean up the label string.
[1]: https://lore.kernel.org/linux-arm-msm/11174eb6-0a9d-7df1-6f06-da4010f76453@linaro.org/
Fixes: 2b8bbe985659 ("arm64: dts: qcom: sm6350-lena: Include pm6350 and configure buttons") Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221222215906.324092-1-marijn.suijten@somainline.org
show more ...
|
#
25f08f02 |
| 16-Nov-2022 |
Johan Hovold <johan+linaro@kernel.org> |
arm64: dts: qcom: clean up 'regulator-allowed-modes' indentation
When recently adding the missing 'regulator-allowed-modes' properties it appears that the binding example with its four-spaces indent
arm64: dts: qcom: clean up 'regulator-allowed-modes' indentation
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
show more ...
|
#
2904a41c |
| 30-Oct-2022 |
Marijn Suijten <marijn.suijten@somainline.org> |
arm64: dts: qcom: sm6350-lena: Configure Samsung touchscreen
Use the generic samsung,s6sy761 touchscreen driver for this device, together with a few pins and regulators to power it up correctly.
Si
arm64: dts: qcom: sm6350-lena: Configure Samsung touchscreen
Use the generic samsung,s6sy761 touchscreen driver for this device, together with a few pins and regulators to power it up correctly.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221030073232.22726-10-marijn.suijten@somainline.org
show more ...
|
#
8bad51c6 |
| 30-Oct-2022 |
Marijn Suijten <marijn.suijten@somainline.org> |
arm64: dts: qcom: sm6350-lena: Enable QUP and GPI DMA
Enable QUP and GPI DMA hardware to be able to add functioning I2C nodes later.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Re
arm64: dts: qcom: sm6350-lena: Enable QUP and GPI DMA
Enable QUP and GPI DMA hardware to be able to add functioning I2C nodes later.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221030073232.22726-9-marijn.suijten@somainline.org
show more ...
|
#
85eef5cb |
| 30-Oct-2022 |
Marijn Suijten <marijn.suijten@somainline.org> |
arm64: dts: qcom: sm6350-lena: Provide power to SDHCI 2 (SDCard slot)
Without power the SDCard slot / hardware remains dormant.
Like many other platforms these regulators are used exclusively by SD
arm64: dts: qcom: sm6350-lena: Provide power to SDHCI 2 (SDCard slot)
Without power the SDCard slot / hardware remains dormant.
Like many other platforms these regulators are used exclusively by SDHCI, and have their maximum voltage decreased to what downstream sets on the consumer side. Additionally the SDHCI driver supports setting a load, for which the regulator definition is extended much the same.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221030073232.22726-8-marijn.suijten@somainline.org
show more ...
|
#
deaf8c88 |
| 30-Oct-2022 |
Marijn Suijten <marijn.suijten@somainline.org> |
arm64: dts: qcom: sm6350-lena: Define pm6350 and pm6150l regulators
This regulator configuration was adopted from downstream, and is identical to the sm7225 FairPhone 4 configuration bar pm6350_l8a.
arm64: dts: qcom: sm6350-lena: Define pm6350 and pm6150l regulators
This regulator configuration was adopted from downstream, and is identical to the sm7225 FairPhone 4 configuration bar pm6350_l8a.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221030073232.22726-7-marijn.suijten@somainline.org
show more ...
|
#
2b8bbe98 |
| 30-Oct-2022 |
Marijn Suijten <marijn.suijten@somainline.org> |
arm64: dts: qcom: sm6350-lena: Include pm6350 and configure buttons
Include pm6350 to inherit its GPIO and button configuration, and configure "resin" to serve as volume up, and gpio2 as volume down
arm64: dts: qcom: sm6350-lena: Include pm6350 and configure buttons
Include pm6350 to inherit its GPIO and button configuration, and configure "resin" to serve as volume up, and gpio2 as volume down.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221030073232.22726-6-marijn.suijten@somainline.org
show more ...
|
#
edf070fc |
| 30-Oct-2022 |
Marijn Suijten <marijn.suijten@somainline.org> |
arm64: dts: qcom: sm6350-lena: Add SD Card Detect to sdc2 on/off pinctrl
In addition to the sdc2 pins, set the SD Card Detect pin in a sane state to be used as an interrupt when an SD Card is slotte
arm64: dts: qcom: sm6350-lena: Add SD Card Detect to sdc2 on/off pinctrl
In addition to the sdc2 pins, set the SD Card Detect pin in a sane state to be used as an interrupt when an SD Card is slotted in or removed.
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Acked-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/20221030073232.22726-4-marijn.suijten@somainline.org
show more ...
|
#
eaa744b1 |
| 16-Oct-2021 |
Arnaud Ferraris <arnaud.ferraris@collabora.com> |
arm64: dts: qcom: add 'chassis-type' property
A new 'chassis-type' root node property has recently been approved for the device-tree specification, in order to provide a simple way for userspace to
arm64: dts: qcom: add 'chassis-type' property
A new 'chassis-type' root node property has recently been approved for the device-tree specification, in order to provide a simple way for userspace to detect the device form factor and adjust their behavior accordingly.
This patch fills in this property for end-user devices (such as laptops, smartphones and tablets) based on Qualcomm ARM64 processors.
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Reviewed-by: Stephan Gerhold <stephan@gerhold.net> # msm8916 Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211016102025.23346-4-arnaud.ferraris@collabora.com
show more ...
|
#
ed1648d5 |
| 23-Sep-2021 |
Konrad Dybcio <konrad.dybcio@somainline.org> |
arm64: dts: qcom: sm6350: Add device tree for Sony Xperia 10 III
Add initial SM6350 SoC and Sony Xperia 10 III (PDX213, Lena platform) device trees. There is no sign of another Lena devices on the h
arm64: dts: qcom: sm6350: Add device tree for Sony Xperia 10 III
Add initial SM6350 SoC and Sony Xperia 10 III (PDX213, Lena platform) device trees. There is no sign of another Lena devices on the horizon, so a common DTSI is not created for now. 10 III features a Full HD OLED display and 5G support, among other nice things like USB3.
The bootloader is VERY unpleasant, to get a bootable setup you have to run:
mkbootimg --kernel arch/arm64/boot/Image.gz --ramdisk [some initrd] \ --dtb arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dtb \ --cmdline "[some cmdline]" --base 0 --kernel_offset 0x8000 \ --ramdisk_offset 0x1000000 --dtb_offset 0x1f00000 --os_version 11 \ --os_patch_level "2021-08" --tags_offset 0x100 --pagesize 4096 \ --header_version 2 -o mainline.img
adb reboot bootloader
// You have to either pull vbmeta{"","_system"} from // /dev/block/bootdevice/by-name/ or build one as a part of AOSP build process fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img fastboot --disable-verity --disable-verification flash vbmeta_system \ vbmeta_system.img
fastboot flash boot mainline.img fastboot erase dtbo // This will take approx 70s... fastboot reboot
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210923162204.21752-16-konrad.dybcio@somainline.org
show more ...
|