Commit 80a02b17 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'qcom-arm32-for-6.10' of...

Merge tag 'qcom-arm32-for-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into soc/dt

Qualcomm Arm32 DeviceTree updates for v6.10

The QCA8074 PHY package found in IPQ4019 is properly described.

The Sony Xperia Z2 Tablet is cleaned up and improved, vibrator support
is added, upon support for Sony Xperia Z3 is added.

Also based on MSM8974, support for Samsung Galaxy S5 China is introduced.
The WiFi board type is added for these "klte" Samsung devices, to select
appropriate NVRAM firmware file.

Based on MSM8226, support for Motorola Moto G (2013) is added.

Nodes representing the PCIe bridges under existing controllers are added
for APQ8064, IPQ4019, IPQ8064, and SDX55.

A number of fixes throughout to improve compliance with DeviceTree
bindings.

* tag 'qcom-arm32-for-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (22 commits)
  ARM: dts: qcom: msm8974: Add DTS for Samsung Galaxy S5 China (kltechn)
  ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type
  ARM: dts: qcom: msm8974: Split out common part of samsung-klte
  ARM: dts: qcom: sdx55: Add PCIe bridge node
  ARM: dts: qcom: apq8064: Add PCIe bridge node
  ARM: dts: qcom: ipq4019: Add PCIe bridge node
  ARM: dts: qcom: ipq8064: Add PCIe bridge node
  ARM: dts: qcom: msm8974-sony-shinano: Enable vibrator
  ARM: dts: qcom: ipq4019: add QCA8075 PHY Package nodes
  ARM: dts: qcom: Add support for Motorola Moto G (2013)
  dt-bindings: arm: qcom: Add Motorola Moto G (2013)
  ARM: dts: qcom: msm8974: Add empty chosen node
  ARM: dts: qcom: msm8974: Add @0 to memory node name
  ARM: dts: qcom: Add Sony Xperia Z3 smartphone
  ARM: dts: qcom: msm8974-sony-castor: Split into shinano-common
  ARM: dts: qcom: msm8916: idle-state compatible require the generic idle-state
  ARM: dts: qcom: include cpu in idle-state node names
  ARM: dts: qcom: msm8974pro-castor: Rename wifi node name
  ARM: dts: qcom: msm8974pro-castor: Add debounce-interval for keys
  ARM: dts: qcom: msm8974pro-castor: Remove camera button definitions
  ...

Link: https://lore.kernel.org/r/20240427163625.1432458-1-andersson@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents b0a1bb46 01088e25
......@@ -137,6 +137,7 @@ properties:
- microsoft,dempsey
- microsoft,makepeace
- microsoft,moneypenny
- motorola,falcon
- samsung,s3ve3g
- const: qcom,msm8226
......
# SPDX-License-Identifier: GPL-2.0
dtb-$(CONFIG_ARCH_QCOM) += \
msm8226-motorola-falcon.dtb \
qcom-apq8016-sbc.dtb \
qcom-apq8026-asus-sparrow.dtb \
qcom-apq8026-huawei-sturgeon.dtb \
......@@ -45,7 +46,9 @@ dtb-$(CONFIG_ARCH_QCOM) += \
qcom-msm8974pro-fairphone-fp2.dtb \
qcom-msm8974pro-oneplus-bacon.dtb \
qcom-msm8974pro-samsung-klte.dtb \
qcom-msm8974pro-samsung-kltechn.dtb \
qcom-msm8974pro-sony-xperia-shinano-castor.dtb \
qcom-msm8974pro-sony-xperia-shinano-leo.dtb \
qcom-mdm9615-wp8548-mangoh-green.dtb \
qcom-sdx55-mtp.dtb \
qcom-sdx55-t55.dtb \
......
// SPDX-License-Identifier: BSD-3-Clause
/dts-v1/;
#include "qcom-msm8226.dtsi"
#include "pm8226.dtsi"
/delete-node/ &smem_region;
/ {
model = "Motorola Moto G (2013)";
compatible = "motorola,falcon", "qcom,msm8226";
chassis-type = "handset";
aliases {
mmc0 = &sdhc_1;
};
chosen {
#address-cells = <1>;
#size-cells = <1>;
ranges;
framebuffer@3200000 {
compatible = "simple-framebuffer";
reg = <0x03200000 0x800000>;
width = <720>;
height = <1280>;
stride = <(720 * 3)>;
format = "r8g8b8";
vsp-supply = <&reg_lcd_pos>;
vsn-supply = <&reg_lcd_neg>;
vddio-supply = <&vddio_disp_vreg>;
};
};
gpio-keys {
compatible = "gpio-keys";
event-hall-sensor {
label = "Hall Effect Sensor";
gpios = <&tlmm 51 GPIO_ACTIVE_LOW>;
linux,input-type = <EV_SW>;
linux,code = <SW_LID>;
linux,can-disable;
};
key-volume-up {
label = "Volume Up";
gpios = <&tlmm 106 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
debounce-interval = <15>;
};
};
vddio_disp_vreg: regulator-vddio-disp {
compatible = "regulator-fixed";
regulator-name = "vddio_disp";
gpio = <&tlmm 34 GPIO_ACTIVE_HIGH>;
vin-supply = <&pm8226_l8>;
startup-delay-us = <300>;
enable-active-high;
regulator-boot-on;
};
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
framebuffer@3200000 {
reg = <0x03200000 0x800000>;
no-map;
};
dhob@f500000 {
reg = <0x0f500000 0x40000>;
no-map;
};
shob@f540000 {
reg = <0x0f540000 0x2000>;
no-map;
};
smem_region: smem@fa00000 {
reg = <0x0fa00000 0x100000>;
no-map;
};
/* Actually <0x0fa00000 0x500000>, but first 100000 is smem */
reserved@fb00000 {
reg = <0x0fb00000 0x400000>;
no-map;
};
};
};
&blsp1_i2c3 {
status = "okay";
regulator@3e {
compatible = "ti,tps65132";
reg = <0x3e>;
pinctrl-0 = <&reg_lcd_default>;
pinctrl-names = "default";
reg_lcd_pos: outp {
regulator-name = "outp";
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <6000000>;
regulator-active-discharge = <1>;
regulator-boot-on;
enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
};
reg_lcd_neg: outn {
regulator-name = "outn";
regulator-min-microvolt = <4000000>;
regulator-max-microvolt = <6000000>;
regulator-active-discharge = <1>;
regulator-boot-on;
enable-gpios = <&tlmm 33 GPIO_ACTIVE_HIGH>;
};
};
temperature-sensor@48 {
compatible = "ti,tmp108";
reg = <0x48>;
interrupts-extended = <&tlmm 13 IRQ_TYPE_LEVEL_LOW>;
pinctrl-0 = <&temp_alert_default>;
pinctrl-names = "default";
#thermal-sensor-cells = <0>;
};
};
&pm8226_resin {
linux,code = <KEY_VOLUMEDOWN>;
status = "okay";
};
&pm8226_vib {
status = "okay";
};
&rpm_requests {
regulators {
compatible = "qcom,rpm-pm8226-regulators";
pm8226_s3: s3 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1300000>;
};
pm8226_s4: s4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2200000>;
};
pm8226_s5: s5 {
regulator-min-microvolt = <1150000>;
regulator-max-microvolt = <1150000>;
};
pm8226_l1: l1 {
regulator-min-microvolt = <1225000>;
regulator-max-microvolt = <1225000>;
};
pm8226_l2: l2 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
pm8226_l3: l3 {
regulator-min-microvolt = <750000>;
regulator-max-microvolt = <1337500>;
};
pm8226_l4: l4 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
pm8226_l5: l5 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
pm8226_l6: l6 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-allow-set-load;
};
pm8226_l7: l7 {
regulator-min-microvolt = <1850000>;
regulator-max-microvolt = <1850000>;
};
pm8226_l8: l8 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
pm8226_l9: l9 {
regulator-min-microvolt = <2050000>;
regulator-max-microvolt = <2050000>;
};
pm8226_l10: l10 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
pm8226_l12: l12 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
pm8226_l14: l14 {
regulator-min-microvolt = <2750000>;
regulator-max-microvolt = <2750000>;
};
pm8226_l15: l15 {
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
};
pm8226_l16: l16 {
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3350000>;
};
pm8226_l17: l17 {
regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>;
};
pm8226_l18: l18 {
regulator-min-microvolt = <2950000>;
regulator-max-microvolt = <2950000>;
};
pm8226_l19: l19 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};
pm8226_l20: l20 {
regulator-min-microvolt = <3075000>;
regulator-max-microvolt = <3075000>;
};
pm8226_l21: l21 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2950000>;
regulator-allow-set-load;
};
pm8226_l22: l22 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2950000>;
};
pm8226_l23: l23 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2950000>;
};
pm8226_l24: l24 {
regulator-min-microvolt = <1300000>;
regulator-max-microvolt = <1350000>;
};
pm8226_l25: l25 {
regulator-min-microvolt = <1775000>;
regulator-max-microvolt = <2125000>;
};
pm8226_l26: l26 {
regulator-min-microvolt = <1225000>;
regulator-max-microvolt = <1225000>;
};
pm8226_l27: l27 {
regulator-min-microvolt = <2050000>;
regulator-max-microvolt = <2050000>;
};
pm8226_l28: l28 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3400000>;
regulator-boot-on;
};
pm8226_lvs1: lvs1 {
regulator-always-on;
};
};
};
&sdhc_1 {
vmmc-supply = <&pm8226_l17>;
vqmmc-supply = <&pm8226_l6>;
bus-width = <8>;
non-removable;
status = "okay";
};
&smbb {
qcom,fast-charge-safe-current = <2000000>;
qcom,fast-charge-current-limit = <1900000>;
qcom,fast-charge-safe-voltage = <4400000>;
qcom,minimum-input-voltage = <4300000>;
status = "okay";
};
&tlmm {
reg_lcd_default: reg-lcd-default-state {
pins = "gpio31", "gpio33";
function = "gpio";
drive-strength = <2>;
bias-disable;
output-high;
};
reg_vddio_disp_default: reg-vddio-disp-default-state {
pins = "gpio34";
function = "gpio";
drive-strength = <2>;
bias-disable;
output-high;
};
temp_alert_default: temp-alert-default-state {
pins = "gpio13";
function = "gpio";
drive-strength = <2>;
bias-disable;
output-disable;
};
};
&usb {
extcon = <&smbb>;
dr_mode = "peripheral";
status = "okay";
};
&usb_hs_phy {
extcon = <&smbb>;
v1p8-supply = <&pm8226_l10>;
v3p3-supply = <&pm8226_l20>;
};
......@@ -87,7 +87,7 @@ L2: l2-cache {
};
idle-states {
CPU_SPC: spc {
CPU_SPC: cpu-spc {
compatible = "qcom,idle-state-spc",
"arm,idle-state";
entry-latency-us = <400>;
......@@ -1334,6 +1334,16 @@ pcie: pcie@1b500000 {
<&gcc PCIE_PHY_RESET>;
reset-names = "axi", "ahb", "por", "pci", "phy";
status = "disabled";
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
hdmi: hdmi-tx@4a00000 {
......
......@@ -79,7 +79,7 @@ L2: l2-cache {
};
idle-states {
CPU_SPC: spc {
CPU_SPC: cpu-spc {
compatible = "qcom,idle-state-spc",
"arm,idle-state";
entry-latency-us = <150>;
......
......@@ -470,6 +470,16 @@ pcie0: pcie@40000000 {
"phy_ahb";
status = "disabled";
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
qpic_bam: dma-controller@7984000 {
......@@ -598,24 +608,33 @@ mdio: mdio@90000 {
reg = <0x90000 0x64>;
status = "disabled";
ethphy0: ethernet-phy@0 {
ethernet-phy-package@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "qcom,qca8075-package";
reg = <0>;
};
ethphy1: ethernet-phy@1 {
reg = <1>;
};
qcom,tx-drive-strength-milliwatt = <300>;
ethphy2: ethernet-phy@2 {
reg = <2>;
};
ethphy0: ethernet-phy@0 {
reg = <0>;
};
ethphy3: ethernet-phy@3 {
reg = <3>;
};
ethphy1: ethernet-phy@1 {
reg = <1>;
};
ethphy2: ethernet-phy@2 {
reg = <2>;
};
ethphy3: ethernet-phy@3 {
reg = <3>;
};
ethphy4: ethernet-phy@4 {
reg = <4>;
ethphy4: ethernet-phy@4 {
reg = <4>;
};
};
};
......
......@@ -1121,6 +1121,16 @@ pcie0: pcie@1b500000 {
status = "disabled";
perst-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
pcie1: pcie@1b700000 {
......@@ -1172,6 +1182,16 @@ pcie1: pcie@1b700000 {
status = "disabled";
perst-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
pcie2: pcie@1b900000 {
......@@ -1223,6 +1243,16 @@ pcie2: pcie@1b900000 {
status = "disabled";
perst-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>;
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
qsgmii_csr: syscon@1bb00000 {
......
......@@ -26,7 +26,7 @@ psci {
};
&CPU_SLEEP_0 {
compatible = "qcom,idle-state-spc";
compatible = "qcom,idle-state-spc", "arm,idle-state";
};
&cpu0_acc {
......
......@@ -14,6 +14,8 @@ / {
#size-cells = <1>;
interrupt-parent = <&intc>;
chosen { };
clocks {
xo_board: xo_board {
compatible = "fixed-clock";
......@@ -85,7 +87,7 @@ L2: l2-cache {
};
idle-states {
CPU_SPC: spc {
CPU_SPC: cpu-spc {
compatible = "qcom,idle-state-spc",
"arm,idle-state";
entry-latency-us = <150>;
......@@ -103,7 +105,7 @@ scm {
};
};
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x0>;
};
......
// SPDX-License-Identifier: GPL-2.0
#include "qcom-msm8974pro-samsung-klte-common.dtsi"
/ {
model = "Samsung Galaxy S5 China";
compatible = "samsung,kltechn", "samsung,klte", "qcom,msm8974pro", "qcom,msm8974";
};
&i2c_led_gpio {
scl-gpios = <&tlmm 61 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&tlmm 60 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
};
&i2c_led_gpioex_pins {
pins = "gpio60", "gpio61";
};
// SPDX-License-Identifier: GPL-2.0
#include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi"
/ {
model = "Sony Xperia Z3";
compatible = "sony,xperia-leo", "qcom,msm8974pro", "qcom,msm8974";
chassis-type = "handset";
gpio-keys {
key-camera-snapshot {
label = "camera_snapshot";
gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
linux,code = <KEY_CAMERA>;
debounce-interval = <15>;
};
key-camera-focus {
label = "camera_focus";
gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
linux,code = <KEY_CAMERA_FOCUS>;
debounce-interval = <15>;
};
};
};
&gpio_keys_pin_a {
pins = "gpio2", "gpio3", "gpio4", "gpio5";
};
&smbb {
usb-charge-current-limit = <1500000>;
qcom,fast-charge-safe-current = <3000000>;
qcom,fast-charge-current-limit = <2150000>;
qcom,fast-charge-safe-voltage = <4400000>;
qcom,fast-charge-high-threshold-voltage = <4350000>;
qcom,auto-recharge-threshold-voltage = <4280000>;
qcom,minimum-input-voltage = <4200000>;
status = "okay";
};
&synaptics_touchscreen {
vio-supply = <&pm8941_s3>;
};
......@@ -378,6 +378,16 @@ pcie_rc: pcie@1c00000 {
phy-names = "pciephy";
status = "disabled";
pcie@0 {
device_type = "pci";
reg = <0x0 0x0 0x0 0x0 0x0>;
bus-range = <0x01 0xff>;
#address-cells = <3>;
#size-cells = <2>;
ranges;
};
};
pcie_ep: pcie-ep@1c00000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment