[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241112114818.1eb238e9@akair>
Date: Tue, 12 Nov 2024 11:48:18 +0100
From: Andreas Kemnade <andreas@...nade.info>
To: Mithil Bavishi <bavishimithil@...il.com>
Cc: Aaro Koskinen <aaro.koskinen@....fi>, Kevin Hilman
<khilman@...libre.com>, Roger Quadros <rogerq@...nel.org>, Tony Lindgren
<tony@...mide.com>, Rob Herring <robh@...nel.org>, Krzysztof Kozlowski
<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Neil Armstrong
<neil.armstrong@...aro.org>, Robert Foss <rfoss@...nel.org>, Laurent
Pinchart <Laurent.pinchart@...asonboard.com>, Jonas Karlman
<jonas@...boo.se>, Jernej Skrabec <jernej.skrabec@...il.com>, Maarten
Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard
<mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, David Airlie
<airlied@...il.com>, Simona Vetter <simona@...ll.ch>, Jessica Zhang
<quic_jesszhan@...cinc.com>, Lad Prabhakar
<prabhakar.mahadev-lad.rj@...renesas.com>, Thierry Reding
<thierry.reding@...il.com>, linux-omap@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-hardening@...r.kernel.org
Subject: Re: [PATCH v3 10/10] ARM: dts: ti: omap: samsung-espresso10: Add
initial support for Galaxy Tab 2 10.1
Am Fri, 8 Nov 2024 20:04:39 +0000
schrieb Mithil Bavishi <bavishimithil@...il.com>:
> Create a device tree for the 10 inch variants (P5100, P5110, P5113)
>
> Signed-off-by: Mithil Bavishi <bavishimithil@...il.com>
> ---
> .../dts/ti/omap/omap4-samsung-espresso10.dts | 102 ++++++++++++++++++
> 1 file changed, 102 insertions(+)
> create mode 100644 arch/arm/boot/dts/ti/omap/omap4-samsung-espresso10.dts
>
> 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
> index 000000000..70bbef468
> --- /dev/null
> +++ b/arch/arm/boot/dts/ti/omap/omap4-samsung-espresso10.dts
> @@ -0,0 +1,102 @@
> +// 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-gpio-5 {
> + 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 = <®_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 = <®_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: synaptics-rmi4-i2c@20 {
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 = <®_touch_ldo_en>;
not known in schema
> + vdd-supply = <&ldo6>;
> +
> + syna,reset-delay-ms = <200>;
> + syna,startup-delay-ms = <200>;
> +
> + touchscreen-size-x = <1279>;
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml:
horizontal resolution of touchscreen (maximum x coordinate reported + 1)
So this touchscreen reports max 1278?
> + touchscreen-size-y = <799>;
same question.
And these things belong below rm4-f11 according to
Documentation/devicetree/bindings/input/syna,rmi4.yaml
Regards,
Andreas
Powered by blists - more mailing lists