From nobody Mon Nov 25 05:41:00 2024 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 6709C1EC016; Wed, 30 Oct 2024 19:42:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730317327; cv=none; b=cqH2abH5zSipxdVoCBQiDvjuuYczDcR0M1v4T7l74ii5pGTZCrKnAc1BLRnOkZZHysAa7d0PxqFL9pl7naRwSAIvG4OlPmWwuHkXWxUSo21Ji3YjHWYvFptqfigyXeqbO9EbnhlcnIZ80B7t5SoNIYDacFn1cyYPy3fsHCfhavM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730317327; c=relaxed/simple; bh=nNB6ViXWbWeqUxx3BYePaMTFx2WPOHtN3KBMbC8bLOQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IeYjr+DzNSYbUMaU7q4ska0l5xLqWl7WxQ1l1szAsWoKDg2+3je04JL4kn09ubhdvMjGRD1ZEc9ttHY2ia/AdEGUR0CvrAWCZTB5jZY+OpkmGnnxZD4dg/yv1b65t/TPy3DeMfhOijb77wU89n6R298PUskX16ROyL58yBeKmkQ= 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=WpYTJ1x0; arc=none smtp.client-ip=209.85.210.176 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="WpYTJ1x0" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-720b173a9ebso157469b3a.0; Wed, 30 Oct 2024 12:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730317325; x=1730922125; 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=5ZnxMxZ2ydRZyNJhBjiB37HobtxTo8sezt3QKcDThbY=; b=WpYTJ1x0UHkZbuaPxGMzEgEEAKkbqxcvkKdzx/2J/CRZQXTJxew/7LpQxhAnmKPtVF wfhbUIiz9V5ycBw84Kb8qb8QpZB2ky/oZfWdmPnFFUHED19BljzO/3AIgc19jcgxUJhl eLCor+pUJyNG0RXvcVFISxPaQmOIBe9Vq/qp19EzYH4u46Uo5lPwkxaDMeKTiPROC/uC B8W9I/XoKKkQx3ekDYOnG0CTSQIbNHzvsqmb4J/N2fGLvcC8N9cdLPinljqPzlYH5CmK BJ+VtRUY72LsMJqXEnFPs5GV3XzhK2JyGbwsWpeStvYwE5k526327iPEdtJ3NWDUB7TO rytw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730317325; x=1730922125; 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=5ZnxMxZ2ydRZyNJhBjiB37HobtxTo8sezt3QKcDThbY=; b=rA4U5idOqPnIgDJpDSII7tGQmVu75qupGM7d4ghQ3+o9mtCwqXg+t4fc+UPlGJWcuV C9i+yni4R6GLKNK/iHBAhM92OEV9goWZHdgjvFRuucffpQ3U6HKjH227K69GMRZ0eO2b Nu2aZ8I86XJDzBagTl+3LReqymrdyyD3bY5ykn1AAP130TnePttSSwoyniFMT22SRbz/ 1fAPHgASlr8KgUxcN1JozFPKqA1wGURirxzLzlYMQrZmWyBE9ItGjr0/P6Yy8ttgLm6a TXtAuII5/g0p9e3JT7nY26/uaoGZDDkOR627yM3Ab81dtRwfi3WU0x5lznpC9kwfvkZs 0gmQ== X-Forwarded-Encrypted: i=1; AJvYcCUf1qwCCHEfagkt8dJpERl6avxVkac1hL8k9rlykBw3fCoPLoac8c2OFjwP463EhdZJQ9PXtnVrPKEc8J71@vger.kernel.org, AJvYcCV3CfkTtnycB083G0MEbam1f6CDh3U7BMvTviF/Mp1Sk6WnySgHXmN9f3u4GAfnDeBox4CjegYBGMtN@vger.kernel.org, AJvYcCVeXeQxbEQ2BjkobcBby4HcF+YiVYutYcmCcXVajTO1LDOyIZHcitBAx4fAzXqGmwjka2l5nk73RtUawFcYvAww@vger.kernel.org X-Gm-Message-State: AOJu0Yz4E1o8qygc8+8HEo/lc9E+B4errtsfRfcATy7Vkgph9MP6dS+6 vvGJoPsixjBQS+2k5VMmSQXXSQ6JzQdhjAT8XJ9gnSX/NT845xAb X-Google-Smtp-Source: AGHT+IH0QekuvHU51cxdN1F7qbKOFyhvHuY6RVatfv0TZ7kOWM1RFR4GPy9h1mQkS/JD+E1gLouy0Q== X-Received: by 2002:a05:6a00:148f:b0:71e:4296:2e with SMTP id d2e1a72fcca58-720b9c942damr688663b3a.11.1730317324518; Wed, 30 Oct 2024 12:42:04 -0700 (PDT) Received: from mighty.kangaroo-insen.ts.net ([120.88.183.142]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7edc8495cabsm9661839a12.0.2024.10.30.12.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2024 12:42:04 -0700 (PDT) From: Mithil Bavishi To: Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: [PATCH v1 4/6] arm/dts: Add initial support for Galaxy Tab 2 7.0 Date: Wed, 30 Oct 2024 19:41:34 +0000 Message-ID: <20241030194136.297648-5-bavishimithil@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241030194136.297648-1-bavishimithil@gmail.com> References: <20241030194136.297648-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 3 inch variants (P3100, P3110, P3113) Signed-off-by: Mithil Bavishi --- arch/arm/boot/dts/ti/omap/Makefile | 1 + .../dts/ti/omap/omap4-samsung-espresso7.dts | 70 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 arch/arm/boot/dts/ti/omap/omap4-samsung-espresso7.dts diff --git a/arch/arm/boot/dts/ti/omap/Makefile b/arch/arm/boot/dts/ti/omap= /Makefile index 95c68135d..a5bbf4b34 100644 --- a/arch/arm/boot/dts/ti/omap/Makefile +++ b/arch/arm/boot/dts/ti/omap/Makefile @@ -76,6 +76,7 @@ dtb-$(CONFIG_ARCH_OMAP4) +=3D \ omap4-panda.dtb \ omap4-panda-a4.dtb \ omap4-panda-es.dtb \ + omap4-samsung-espresso7.dtb \ omap4-sdp.dtb \ omap4-sdp-es23plus.dtb \ omap4-var-dvk-om44.dtb \ diff --git a/arch/arm/boot/dts/ti/omap/omap4-samsung-espresso7.dts b/arch/a= rm/boot/dts/ti/omap/omap4-samsung-espresso7.dts new file mode 100644 index 000000000..1aa18261f --- /dev/null +++ b/arch/arm/boot/dts/ti/omap/omap4-samsung-espresso7.dts @@ -0,0 +1,70 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/dts-v1/; + +#include "omap4-samsung-espresso-common.dtsi" + +/ { + model =3D "Samsung Galaxy Tab 2 (7 inch)"; + compatible =3D "samsung,espresso7", "ti,omap4430", "ti,omap4"; + + backlight: backlight { + compatible =3D "pwm-backlight"; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&backlight_pins>; + pwms =3D <&pwm10 0 1200 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 <2>; + }; + + panel { + compatible =3D "panel-lvds"; + power-supply =3D <®_lcd>; + width-mm =3D <154>; + height-mm =3D <90>; + data-mapping =3D "vesa-24"; + backlight =3D <&backlight>; + + panel-timing { + clock-frequency =3D <47255554>; + + hback-porch =3D <210>; + hactive =3D <1024>; + hfront-porch =3D <186>; + hsync-len =3D <50>; + + vback-porch =3D <11>; + vactive =3D <600>; + vfront-porch =3D <24>; + vsync-len =3D <10>; + + hsync-active =3D <0>; + vsync-active =3D <0>; + de-active =3D <1>; + pixelclk-active =3D <1>; + syncclk-active =3D <0>; + }; + + port { + panel_in: endpoint { + remote-endpoint =3D <&bridge_out>; + }; + }; + }; +}; + +&i2c3 { + touchscreen@48 { + compatible =3D "melfas,mms136"; + reg =3D <0x48>; + interrupt-parent =3D <&gpio2>; + interrupts =3D <14 IRQ_TYPE_EDGE_FALLING>; + touchscreen-size-x =3D <1023>; + touchscreen-size-y =3D <599>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&touch_pins>; + avdd-supply =3D <®_touch_ldo_en>; + vdd-supply =3D <&vcxio>; + }; +}; --=20 2.43.0