From nobody Sun Nov 24 03:11:39 2024 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47C831F26CC; Fri, 8 Nov 2024 20:06:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731096374; cv=none; b=W4D/ht0wmr4Tm2DblcBJsZTvCyUK8Vs3sg1JnOp8wC6Vc9YQdib57in52d4dObNXLlMeDoR1fedI6ensrtD9Zqwh5pICjDjVsea5bLsVx4DyKMSaLYre74+LRNdWgYWzSZKifFPXiiZUrkmFzSxXl6swj/8FrMHaQebsskjBL9o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731096374; c=relaxed/simple; bh=NzdEgMADxOb7swHOQ+PPR8bxpBS6jH60Rb6WdCmK4cw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EqTDQocPOFMe5RTQMNFbU07TEUJBs1CP9qaBygvPpV6qNFS6ojQQNfoRlGwp4LG6VN1GUGNoBZ0pzn083nCtY8aKbNSf3PW9/o8RdGY7hkpyAF6xyp6G21mrlDV6XJg8YracJS0HUamXlbaAQPWtxVZWBvaot0LCgja+2ZM0Bl4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mbl23+1r; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mbl23+1r" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-72410cc7be9so1772380b3a.0; Fri, 08 Nov 2024 12:06:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731096373; x=1731701173; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e+pxJEv6PwGkDmgf7vlb0xaf/TsB7THqnGutHjf9Yl8=; b=mbl23+1rw+8ijRg5ZKBNHyk4kRRUijcsq8mBDLT4Me5pPrah/mkbyUJX8Bwl4f5tG6 FaHFymLG2eKzH8V0sqpn7uuToLfYCbpoRQJRLo3XRwlklb2zNDnvioEZwTAInaL9Sdoq s3S9GUlaiN3b4wcmncB9L83RqjlzTwv8cePXCbUyij1p4N0hPT8i7th01bPrVC7qWIqM Kbly6hN+xpClxIoXk0RxajeyE2u1SbDCMXuWYzhQtmM+a2vrCF7IbCKTVwhIJC2bUOx+ PrJKpbUhdhrio42f6NT/gqSvePZZjXFmAWUiiVPmrerCCknexIHB1JLuTmtHuvKRkr7h N+Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731096373; x=1731701173; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e+pxJEv6PwGkDmgf7vlb0xaf/TsB7THqnGutHjf9Yl8=; b=Kt5DS1k0JIxjni36AnXjGdr87QdhXeHP1gDAaPMDXizql2hif4kiCeC1adt2hGoaVk kiH5Cl+k7+RxTxmGaoqKDXbzTe0Aqm8gEC4hscGHZOTTiyOpOlwfPoQWofZX/yidfF0p KUqJEG9xf7oee7wA6M5hMLfK8pYszRzVpMGwB7ZJ7il1sOZGtY61A8p1M7/xO/aHMx1y vHzyHUjjaGdcZwf50+gERjFdpuGTiHYNsiPCw7zjTwiUHE4Br72fBOUSJfzkqhKfZbh3 VGaIMYQtAj6T9LhFjLMbl+fTQQClmDOnY38JipA4O54r5kqhqRJYQnjG8+8S0uMBzbkM uz5Q== X-Forwarded-Encrypted: i=1; AJvYcCUoST+l0cYnaON8JO8BVN/hz8AU2dil/HDdTI8AVRv6PUtMO+c+4aP5JeYyJUpg9Fh6Ev3PvvgJziDkKtqTnAhB@vger.kernel.org, AJvYcCXFUMcQvlSHONfnhJjzJkDvGxWCAUyMdsHC/MBqmlhmF98vgz3ZjHWkICKV+c244RLpNx+/fDx54InfDlM5@vger.kernel.org, AJvYcCXPfCBvoJI4zJm+fCWrHMMZrtdK9oA01e4S2aTfAvRn+mrHIPY+LX4uQks6vCLMB5u/PfqNCL3n5ZT5@vger.kernel.org X-Gm-Message-State: AOJu0Yx57qAHbPoNYY18fxyMvueJ3of8FCgCpP46ilV4Ns1IrqusNDeu Hdo/uKLFqarkOmzOI/LNjNA/Zw05G29ob9HbG7hdFVAM318oWwi8 X-Google-Smtp-Source: AGHT+IFwHvYMTTEotxw6SwVshq1ogJkCQXDcpNbNEFSr+fROy51ZN1A2AXf0NpMGBrlyOm6+qYerlg== X-Received: by 2002:a05:6a20:7faa:b0:1d0:2531:b2b9 with SMTP id adf61e73a8af0-1dc22b00bd8mr5826318637.36.1731096372599; Fri, 08 Nov 2024 12:06:12 -0800 (PST) Received: from mighty.kangaroo-insen.ts.net ([120.88.183.182]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72407a56a30sm4323418b3a.188.2024.11.08.12.06.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Nov 2024 12:06:12 -0800 (PST) From: Mithil Bavishi To: Aaro Koskinen , Andreas Kemnade , 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 , Mithil Bavishi , Lad Prabhakar , Thierry Reding Cc: 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: [PATCH v3 10/10] ARM: dts: ti: omap: samsung-espresso10: Add initial support for Galaxy Tab 2 10.1 Date: Fri, 8 Nov 2024 20:04:39 +0000 Message-ID: <20241108200440.7562-11-bavishimithil@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241108200440.7562-1-bavishimithil@gmail.com> References: <20241108200440.7562-1-bavishimithil@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D "Samsung Galaxy Tab 2 (10 inch)"; + compatible =3D "samsung,espresso10", "ti,omap4430", "ti,omap4"; + + i2c-gpio-5 { + smb347: charger@6 { + compatible =3D "summit,smb347"; + reg =3D <0x6>; // 0x0C >> 1 + interrupt-parent =3D <&gpio2>; + interrupts =3D <0 IRQ_TYPE_EDGE_BOTH>; + + summit,enable-usb-charging; + summit,enable-charge-control =3D ; + summit,chip-temperature-threshold-celsius =3D <120>; + summit,usb-current-limit-microamp =3D <1800000>; + }; + }; + + backlight: backlight { + compatible =3D "pwm-backlight"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&backlight_pins>; + pwms =3D <&pwm10 0 1600 0>; + power-supply =3D <®_lcd>; + enable-gpios =3D <&gpio3 31 GPIO_ACTIVE_HIGH>; + brightness-levels =3D <0 4 8 16 32 64 128 255>; + default-brightness-level =3D <7>; + }; + + panel { + compatible =3D "samsung,ltn101al03", "panel-lvds"; + power-supply =3D <®_lcd>; + width-mm =3D <223>; + height-mm =3D <125>; + data-mapping =3D "vesa-24"; + backlight =3D <&backlight>; + + panel-timing { + clock-frequency =3D <69818000>; + + hback-porch =3D <64>; + hactive =3D <1280>; + hfront-porch =3D <16>; + hsync-len =3D <48>; + + vback-porch =3D <11>; + vactive =3D <800>; + vfront-porch =3D <16>; + vsync-len =3D <3>; + + hsync-active =3D <0>; + vsync-active =3D <0>; + de-active =3D <1>; + pixelclk-active =3D <1>; + }; + + port { + panel_in: endpoint { + remote-endpoint =3D <&bridge_out>; + }; + }; + }; +}; + +&i2c3 { + touchscreen: synaptics-rmi4-i2c@20 { + compatible =3D "syna,rmi4-i2c"; + reg =3D <0x20>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + interrupt-parent =3D <&gpio2>; + interrupts =3D <14 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&touch_pins>; + + avdd-supply =3D <®_touch_ldo_en>; + vdd-supply =3D <&ldo6>; + + syna,reset-delay-ms =3D <200>; + syna,startup-delay-ms =3D <200>; + + touchscreen-size-x =3D <1279>; + touchscreen-size-y =3D <799>; + + rmi4-f01@1 { + reg =3D <0x01>; + syna,nosleep-mode =3D <1>; + }; + + rmi4-f11@11 { + reg =3D <0x11>; + syna,sensor-type =3D <1>; + }; + }; +}; --=20 2.43.0