Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EDD53D32D8B for ; Tue, 12 Nov 2024 10:48:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 71FCB10E573; Tue, 12 Nov 2024 10:48:41 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kemnade.info header.i=@kemnade.info header.b="9oMiat9a"; dkim-atps=neutral Received: from mail.andi.de1.cc (mail.andi.de1.cc [178.238.236.174]) by gabe.freedesktop.org (Postfix) with ESMTPS id C8BFB10E573 for ; Tue, 12 Nov 2024 10:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=References:In-Reply-To:Cc:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=2m7yLhxfZDBBcaSm+o4e0Z6YDFzbc2KbJ1HEoJJMrgE=; b=9oMiat9aS3OnXG3WvYQ6dodxHB c3IKeiuhoIjkbP/vFCRnyEKdsl90Q82eNInauL9GoJFDN6sN/smTp40tdct7YHbmusIztadZeNmT1 cMA32aoHjjpu+yKHPZr3sMJE0SXKKv8n09FgEm6HNwnVZ3xYBr/QG8Q0PEvXAJ60wd2xK7/g/atl1 5cidNMeMHYtCv1CxH09N+J4oAvA2DozhbCpxbtemIOZsxhUpKlrGweu3bj2lRyvOONLu+cZs+FZJn 0/eXYnZJRXoVFmduzywld+K6DGYhoeTbfRx/GqN6A460Lbv1GK1yxOZxQO8CeeS0eOplhyS4GE/fh v+x5pbSg==; Date: Tue, 12 Nov 2024 11:48:18 +0100 From: Andreas Kemnade To: Mithil Bavishi Cc: Aaro Koskinen , Kevin Hilman , Roger Quadros , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jessica Zhang , Lad Prabhakar , Thierry Reding , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v3 10/10] ARM: dts: ti: omap: samsung-espresso10: Add initial support for Galaxy Tab 2 10.1 Message-ID: <20241112114818.1eb238e9@akair> In-Reply-To: <20241108200440.7562-11-bavishimithil@gmail.com> References: <20241108200440.7562-1-bavishimithil@gmail.com> <20241108200440.7562-11-bavishimithil@gmail.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Am Fri, 8 Nov 2024 20:04:39 +0000 schrieb Mithil Bavishi : > Create a device tree for the 10 inch variants (P5100, P5110, P5113) > > Signed-off-by: Mithil Bavishi > --- > .../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 > +/ { > + 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 = ; > + 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