From patchwork Wed Oct 25 08:37:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 157934 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2453169vqx; Wed, 25 Oct 2023 01:42:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF66uRw4s+63TQEdMYMq62itC1f4kcV+CcMTG0CYuTb1qXKs5RvjYxFFEX+r2HDtgDF2ysK X-Received: by 2002:a81:4e94:0:b0:5a8:1d2e:e3e4 with SMTP id c142-20020a814e94000000b005a81d2ee3e4mr16408921ywb.35.1698223369934; Wed, 25 Oct 2023 01:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698223369; cv=none; d=google.com; s=arc-20160816; b=W9CGYw6B0LQ6E+ZtKahj4u20XIz39++ZZZy09vEA5m7jPU3cqgMOxOgRoGyp3+Mhg0 yhyTqgX5HkojGhWgOw6pbhRC4+5rr0ybzPSVYRqi4L4QXvv/f8+dPy8xlfIGpnAd3KLw 4TNbOM+aXf3evCJY7LLHRS0MkEDsLxzFFSTsje2mepb26AOSEOewbHublqGqCj+0MGfK Euwd7VKmjwoK6g9hj4CmzkPBLCvi4GvN9D5SwNSGCmvYVwlr8tWV9DNgsQwaZaOxXwFL JCAcrtw60jXuwzgRKM1syc18XnZyplQC064niBHn24B7M9YDSvemCwS/rBnt1g9TrijS p5wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:dkim-signature :from; bh=WftJlpZtFCnefMD8OenIbNEyH0eXljfkuOxB9Oej6aQ=; fh=8LmwB/n4G53CQiHYO+ycQgPivED5y1YDH/Ve54KLwm0=; b=FpQNl8pSbXY4nJdKDBIBpAWUE43Iwnv6MwSQgUyzRpecLycxqLOxMAQo3XyDhDqUs/ kUuBULzGcW15zlqIkD/+DyhD5Qx8/3DFXAgN/te7FCGJg7HgM64piDM6JOqSBN8iSP+I tvilS2Tag9WEcgdpmRMw7tmIoMGijwFjoNVC/uY88LzqVsvK6aC9/maQV/YuPYu85llW ik9XOxNSpgzjHQq13HBtKpnheOr+v5OniGhS8yQP9pLpdUOgtlDTwZB7b+CEm8SdiKkf 37jGA3iN7aDv78gMujmX8VKWLb9wvJi6sbLkqKcrn62p+OPUKwKXe2GG5nYg2DaUW6Te B9TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=K1zqzHfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id y1-20020a0def01000000b005a4f6575a70si10950469ywe.62.2023.10.25.01.42.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 01:42:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=K1zqzHfm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0AECC807AFD6; Wed, 25 Oct 2023 01:42:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234364AbjJYIm1 (ORCPT + 26 others); Wed, 25 Oct 2023 04:42:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234085AbjJYImM (ORCPT ); Wed, 25 Oct 2023 04:42:12 -0400 Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 315509C; Wed, 25 Oct 2023 01:42:10 -0700 (PDT) From: Stefan Hansson DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1698223328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WftJlpZtFCnefMD8OenIbNEyH0eXljfkuOxB9Oej6aQ=; b=K1zqzHfmdptWF/Rfl7wB1CPXx0r/Tly/RRJZkLWHBc0F+hhBYFEyVBF4q6Pbb3V74deAdV EVSdN7h5W/uxgjl8j43qUyYS7DzXNDhFdGXbAjMzoHCjRJD6iNfdTssGNsA7iBjThd0B0g JP12mOAm67hFicITjSviUOaeLXIubQ8= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Stefan Hansson Subject: [PATCH v3 3/4] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535) Date: Wed, 25 Oct 2023 10:37:51 +0200 Message-ID: <20231025083952.12367-4-newbyte@postmarketos.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231025083952.12367-1-newbyte@postmarketos.org> References: <20231025083952.12367-1-newbyte@postmarketos.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 25 Oct 2023 01:42:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780716268372921925 X-GMAIL-MSGID: 1780716268372921925 Add a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T535) LTE tablet based on the MSM8926 platform. Signed-off-by: Stefan Hansson --- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom/qcom-msm8926-samsung-matisselte.dts | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index a3d293e40820..cab35eeb30f6 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -34,6 +34,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-serranove.dtb \ qcom-msm8926-microsoft-superman-lte.dtb \ qcom-msm8926-microsoft-tesla.dtb \ + qcom-msm8926-samsung-matisselte.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts b/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts new file mode 100644 index 000000000000..6e25b1a74ce5 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts @@ -0,0 +1,36 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022, Matti Lehtimäki + * Copyright (c) 2023, Stefan Hansson + */ + +/dts-v1/; + +#include "qcom-msm8226-samsung-matisse-common.dtsi" + +/ { + model = "Samsung Galaxy Tab 4 10.1 LTE"; + compatible = "samsung,matisselte", "qcom,msm8926", "qcom,msm8226"; + chassis-type = "tablet"; +}; + +&pm8226_l3 { + regulator-max-microvolt = <1350000>; +}; + +&pm8226_s4 { + regulator-max-microvolt = <2200000>; +}; + +®_tsp_3p3v { + gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>; +}; + +&sdhc_2 { + /* SD card fails to probe with error -110 */ + status = "disabled"; +}; + +&tsp_en1_default_state { + pins = "gpio32"; +};