]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: ti: omap: samsung-espresso10: Add initial support for Galaxy Tab 2 10.1
authorMithil Bavishi <bavishimithil@gmail.com>
Tue, 3 Mar 2026 20:30:17 +0000 (15:30 -0500)
committerKevin Hilman <khilman@baylibre.com>
Fri, 6 Mar 2026 00:27:20 +0000 (16:27 -0800)
Create a device tree for the 10 inch variants (P5100, P5110, P5113)

Signed-off-by: Mithil Bavishi <bavishimithil@gmail.com>
Reviewed-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://patch.msgid.link/20260303203017.511-9-bavishimithil@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/Makefile
arch/arm/boot/dts/ti/omap/omap4-samsung-espresso10.dts [new file with mode: 0644]

index 1fd426204b9fa6002a8d71a8dd7f97b29c59bd6e..be992910f064fd119a07c50cae98299ca09a05f3 100644 (file)
@@ -81,6 +81,7 @@ dtb-$(CONFIG_ARCH_OMAP4) += \
        omap4-var-dvk-om44.dtb \
        omap4-var-stk-om44.dtb \
        omap4-samsung-espresso7.dtb \
+       omap4-samsung-espresso10.dtb \
        omap4-xyboard-mz609.dtb \
        omap4-xyboard-mz617.dtb
 dtb-$(CONFIG_SOC_AM33XX) += \
diff --git a/arch/arm/boot/dts/ti/omap/omap4-samsung-espresso10.dts b/arch/arm/boot/dts/ti/omap/omap4-samsung-espresso10.dts
new file mode 100644 (file)
index 0000000..558dc3c
--- /dev/null
@@ -0,0 +1,101 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/dts-v1/;
+
+#include "omap4-samsung-espresso-common.dtsi"
+#include <dt-bindings/power/summit,smb347-charger.h>
+/ {
+       model = "Samsung Galaxy Tab 2 (10 inch)";
+       compatible = "samsung,espresso10", "ti,omap4430", "ti,omap4";
+
+       i2c-gpio5 {
+               smb347: charger@6 {
+                       compatible = "summit,smb347";
+                       reg = <0x6>; // 0x0C >> 1
+                       interrupt-parent = <&gpio2>;
+                       interrupts = <0 IRQ_TYPE_EDGE_BOTH>;
+
+                       summit,enable-usb-charging;
+                       summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
+                       summit,chip-temperature-threshold-celsius = <120>;
+                       summit,usb-current-limit-microamp = <1800000>;
+               };
+       };
+
+       backlight: backlight {
+               compatible = "pwm-backlight";
+               pinctrl-names = "default";
+               pinctrl-0 = <&backlight_pins>;
+               pwms = <&pwm10 0 1600 0>;
+               power-supply = <&reg_lcd>;
+               enable-gpios = <&gpio3 31 GPIO_ACTIVE_HIGH>;
+               brightness-levels = <0 4 8 16 32 64 128 255>;
+               default-brightness-level = <7>;
+       };
+
+       panel {
+               compatible = "samsung,ltn101al03", "panel-lvds";
+               power-supply = <&reg_lcd>;
+               width-mm = <223>;
+               height-mm = <125>;
+               data-mapping = "vesa-24";
+               backlight = <&backlight>;
+
+               panel-timing {
+                       clock-frequency = <69818000>;
+
+                       hback-porch = <64>;
+                       hactive = <1280>;
+                       hfront-porch = <16>;
+                       hsync-len = <48>;
+
+                       vback-porch = <11>;
+                       vactive = <800>;
+                       vfront-porch = <16>;
+                       vsync-len = <3>;
+
+                       hsync-active = <0>;
+                       vsync-active = <0>;
+                       de-active = <1>;
+                       pixelclk-active = <1>;
+               };
+
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&bridge_out>;
+                       };
+               };
+       };
+};
+
+&i2c3 {
+       touchscreen@20 {
+               compatible = "syna,rmi4-i2c";
+               reg = <0x20>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               interrupt-parent = <&gpio2>;
+               interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&touch_pins>;
+
+               //avdd-supply = <&reg_touch_ldo_en>;
+               vdd-supply = <&ldo6>;
+
+               syna,reset-delay-ms = <200>;
+               syna,startup-delay-ms = <200>;
+
+               rmi4-f01@1 {
+                       reg = <0x01>;
+                       syna,nosleep-mode = <1>;
+               };
+
+               rmi4-f11@11 {
+                       reg = <0x11>;
+                       touchscreen-size-x = <1280>;
+                       touchscreen-size-y = <800>;
+                       syna,sensor-type = <1>;
+               };
+       };
+};