Ux500 DTS updates for the v5.8 kernel series:
- Add proximity sensor and magnetometer to the Samsung Golden devicetree. - Add magnetometer and touchscreen to the Samsung Skomer devicetree. -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEElDRnuGcz/wPCXQWMQRCzN7AZXXMFAl7BoYoACgkQQRCzN7AZ XXM2gA/+N9ni+nocsba5LkXSukYyZnww6ymCjjmlmrhfDkvmKFv1XOqar6zy/oBP kAvJMvGrHH/17i/3S5CPEDugahKHkc1wD0AvidpTPfF6nomW1JkXZKloK2Cu4DU0 pmAzvpuozIjDzoO+BZKvu33qS5DlT3fjrAQLRmlRjfcf90EkdwTSFy4yQw9WJUwe C/0w0b3anaGlA9iHuaE8PRzoU7mCPkTe2EJZcCrxyJHGR9shXv2VF9dpDRaE5GUl LxlpBUuh4sXdivRzs2IAsQ4WNYudXN4o2JpcKTRAGLnygAA6C7vqke4V/QADzjEi uPU4PPW2mCR8ntKMWTfOq6/pV0Il+Mkqinljbf3ae2NHJtmfrO+HhNk8NLU89gHz ir2oc5lbLfIYlddeL3OSt1iuBrvTi0+aI0EwPadQlOpomZ7glIOwqPsszwUrsv3q M12DAJCpyW5DxzXsdTDTvGlA9ph+/gkLiAv7inL5PCQUuOacyfVDADk6juRgCbNB BnFfl6HxEyiDBFQ2lSiVUq4pq2E65waoBSwdZ3b8ttFmmcuk0INCM9ts3xOANJzQ Su4+XKZrxRA8VbC1RMm1Hbz8W8AujNZhn32U5jN1CcpXQq5gwtdswANj9gXJu53o SY2xDrDVSP/O+SlhCCZOEAiVNP5jDCsb/p/SEfhfzU+jBXU7k1k= =UOo9 -----END PGP SIGNATURE----- Merge tag 'ux500-dts-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into arm/dt Ux500 DTS updates for the v5.8 kernel series: - Add proximity sensor and magnetometer to the Samsung Golden devicetree. - Add magnetometer and touchscreen to the Samsung Skomer devicetree. * tag 'ux500-dts-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: ARM: dts: ux500: Add touchscreen to the Skomer ARM: dts: ux500: samsung-skomer: Add magnetometer ARM: dts: ux500: samsung-golden: Add magnetometer ARM: dts: ux500: samsung-golden: Add proximity sensor Link: https://lore.kernel.org/r/CACRpkdbukO33SxAZ_yn-1N8=hq3hF5OBOtP_V0fbjRT-fAa87A@mail.gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
409b629420
|
@ -24,6 +24,26 @@
|
||||||
stdout-path = &serial2;
|
stdout-path = &serial2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c-gpio-1 {
|
||||||
|
compatible = "i2c-gpio";
|
||||||
|
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
|
||||||
|
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
|
||||||
|
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c_gpio_1_default>;
|
||||||
|
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
magnetometer@c {
|
||||||
|
compatible = "alps,hscdtd008a";
|
||||||
|
reg = <0x0c>;
|
||||||
|
|
||||||
|
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||||
|
dvdd-supply = <&ab8500_ldo_aux8_reg>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
soc {
|
soc {
|
||||||
/* External Micro SD card slot */
|
/* External Micro SD card slot */
|
||||||
sdi0_per1@80126000 {
|
sdi0_per1@80126000 {
|
||||||
|
@ -146,6 +166,32 @@
|
||||||
pinctrl-1 = <&u2rxtx_c_1_sleep>;
|
pinctrl-1 = <&u2rxtx_c_1_sleep>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c@80004000 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
pinctrl-names = "default", "sleep";
|
||||||
|
pinctrl-0 = <&i2c0_a_1_default>;
|
||||||
|
pinctrl-1 = <&i2c0_a_1_sleep>;
|
||||||
|
|
||||||
|
proximity@44 {
|
||||||
|
compatible = "sharp,gp2ap002s00f";
|
||||||
|
reg = <0x44>;
|
||||||
|
|
||||||
|
/* GPIO146 (PS_INT) */
|
||||||
|
interrupt-parent = <&gpio4>;
|
||||||
|
interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
|
||||||
|
|
||||||
|
vdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||||
|
vio-supply = <&ab8500_ldo_aux8_reg>;
|
||||||
|
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&proximity_default>;
|
||||||
|
|
||||||
|
sharp,proximity-far-hysteresis = <0x40>;
|
||||||
|
sharp,proximity-close-hysteresis = <0x0f>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
i2c@80128000 {
|
i2c@80128000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
@ -357,6 +403,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c-gpio-1 {
|
||||||
|
i2c_gpio_1_default: i2c_gpio_1 {
|
||||||
|
golden_cfg1 {
|
||||||
|
pins = "GPIO151", /* COMP_SCL */
|
||||||
|
"GPIO152"; /* COMP_SDA */
|
||||||
|
ste,config = <&gpio_in_nopull>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sdi0 {
|
sdi0 {
|
||||||
sd_level_translator_default: sd_level_translator_default {
|
sd_level_translator_default: sd_level_translator_default {
|
||||||
golden_cfg1 {
|
golden_cfg1 {
|
||||||
|
@ -375,6 +431,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
proximity {
|
||||||
|
proximity_default: proximity_default {
|
||||||
|
golden_cfg1 {
|
||||||
|
pins = "GPIO146_D13"; /* PS_INT */
|
||||||
|
ste,config = <&gpio_in_nopull>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
imu {
|
imu {
|
||||||
imu_default: imu_default {
|
imu_default: imu_default {
|
||||||
golden_cfg1 {
|
golden_cfg1 {
|
||||||
|
|
|
@ -140,7 +140,12 @@
|
||||||
pinctrl-0 = <&i2c_gpio_1_default>;
|
pinctrl-0 = <&i2c_gpio_1_default>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
/* TODO: this should be used by the ALPS HSCDTD008A compass sensor */
|
magnetometer@c {
|
||||||
|
compatible = "alps,hscdtd008a";
|
||||||
|
reg = <0x0c>;
|
||||||
|
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||||
|
dvdd-supply = <&ab8500_ldo_aux8_reg>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
soc {
|
soc {
|
||||||
|
@ -362,7 +367,28 @@
|
||||||
pinctrl-0 = <&i2c3_c_2_default>;
|
pinctrl-0 = <&i2c3_c_2_default>;
|
||||||
pinctrl-1 = <&i2c3_c_2_sleep>;
|
pinctrl-1 = <&i2c3_c_2_sleep>;
|
||||||
|
|
||||||
/* TODO: this should be used by the Cypress TMA140 touchscreen */
|
/* Cypress CY8CTMA140 touchscreen */
|
||||||
|
touchscreen@20 {
|
||||||
|
compatible = "cypress,cy8ctma140";
|
||||||
|
clock-frequency = <400000>;
|
||||||
|
reg = <0x20>;
|
||||||
|
|
||||||
|
touchscreen-size-x = <480>;
|
||||||
|
touchscreen-size-y = <800>;
|
||||||
|
touchscreen-max-pressure = <255>;
|
||||||
|
|
||||||
|
/* GPIO218 for IRQ */
|
||||||
|
interrupt-parent = <&gpio6>;
|
||||||
|
interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
|
||||||
|
|
||||||
|
/* VDD is "digital supply" nominally 1.71-3.6V */
|
||||||
|
vdd-supply = <&ab8500_ldo_aux2_reg>;
|
||||||
|
/* VCPIN is "analog supply", 2.7-3.6 V */
|
||||||
|
vcpin-supply = <&ab8500_ldo_aux2_reg>;
|
||||||
|
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&tma140_skomer_default>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mcde@a0350000 {
|
mcde@a0350000 {
|
||||||
|
@ -557,6 +583,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
/* Interrupt line for the Cypress TMA140 touchscreen */
|
||||||
|
touchscreen {
|
||||||
|
tma140_skomer_default: tma140_skomer {
|
||||||
|
skomer_cfg1 {
|
||||||
|
pins = "GPIO218_AH11";
|
||||||
|
ste,config = <&gpio_in_nopull>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&ab8505_gpio {
|
&ab8505_gpio {
|
||||||
|
|
Loading…
Reference in New Issue