From patchwork Sun Jan 22 14:47:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hansson X-Patchwork-Id: 46953 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1183419wrn; Sun, 22 Jan 2023 06:58:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXse1WZNqmG6pyct+Bqv1cl8DIfYfFyc+kliisXhTGXgODugxLKLzToRadK6WtjrD7p2sdPG X-Received: by 2002:aa7:87ca:0:b0:56b:dae1:e946 with SMTP id i10-20020aa787ca000000b0056bdae1e946mr19883079pfo.28.1674399494604; Sun, 22 Jan 2023 06:58:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674399494; cv=none; d=google.com; s=arc-20160816; b=yUz5nESfbzHyS9FfIbw4bvKUgoALMEKBh4iaBVS9evT+ILQNGx8EsxeuMv1Fd0z7GT ljq7GCxgrMANCRfFmW3BlMktbpLjk154t8oOH016qlH6b98ykmsij0//S+fNuY1txr+N 5Og15Zr4TOpHCm+QSoxl2RgnUHuytnHjRcREHONsIjhMGpiu+lyQoqZOGyiGXLo02GRT m0DGhe4ZbwvziPbVbn1B1BQ1hIo6fWxzUwPHa6kSUgWDCsS8Uo2pW4ZAyrb2OumRgG/3 W4TuhxSFnLql3171p3aBqFHd+4cWYSztVuF2pYlrWaqiZaQ1d+4iS+vgyUbcqpzsjX6h q0qQ== 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:from :dkim-signature; bh=dtyjs2pqrJrhJouhbcxDlpTK3vQz+8gAmTLZyHkw9gE=; b=vxSLmq0oblPH2yB9EVv5/lPlgJ/2msZ8BeSx59rWe/jgfBXKpIv8Ef3A3Mca++EOQz wnXh/e7mKNd5mjsFz0RvCV15+/lx81Fk8MWJm7u7sRCU0MxQr/A1OgEYEX/Nudsf51OE TBe8dk9NWNF9BIpmcqnJqJkoRI0dnlET6RH3S4RbXjBx+GwaSh689i36nPZXcqcsFV5M zmTwC+HFIzVDLjAcOVBNoxSG/p1Z47tMO6WDj9UX1VFYId74hJ0U6imhXQ21W2EHCukl /GskNff+gHI1WKHwl3olWGqHPnW7p9uJnzMF5ej2xIQQJvGlE7vvf5dkTqtLCfEiMlgH Sy7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=cEMghCUC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 10-20020a62190a000000b0058e061e0fddsi10227201pfz.174.2023.01.22.06.57.59; Sun, 22 Jan 2023 06:58:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=donut header.b=cEMghCUC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbjAVO5p (ORCPT + 99 others); Sun, 22 Jan 2023 09:57:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229947AbjAVO5j (ORCPT ); Sun, 22 Jan 2023 09:57:39 -0500 X-Greylist: delayed 449 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 22 Jan 2023 06:57:37 PST Received: from proxmox1.postmarketos.org (proxmox1.postmarketos.org [213.239.216.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 152611BAFE; Sun, 22 Jan 2023 06:57:36 -0800 (PST) Received: from shock.lan (2-248-191-197-no36.tbcn.telia.com [2.248.191.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by proxmox1.postmarketos.org (Postfix) with ESMTPSA id EC1DE140402; Sun, 22 Jan 2023 14:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postmarketos.org; s=donut; t=1674399025; 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=dtyjs2pqrJrhJouhbcxDlpTK3vQz+8gAmTLZyHkw9gE=; b=cEMghCUCVTn9UbQVdx2Z+dFC55xH2Fi7qQJ8TIYV1jr3GlGeYEwyknv/Pwa2GZAsy/nHZK oksySJGKbZCsBGtI3G6T4NT+PfP3UyG3Nv7MCHkX294k1pqaFft++THEPU3UKYokYh7vZO lb1fvyPIGRvHDEbVC4fA6wBjnjGqgp8= From: Stefan Hansson To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , soc@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, matti.lehtimaki@gmail.com, Stefan Hansson Subject: [PATCH 3/3] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535) Date: Sun, 22 Jan 2023 15:47:50 +0100 Message-Id: <20230122144749.87597-4-newbyte@postmarketos.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230122144749.87597-1-newbyte@postmarketos.org> References: <20230122144749.87597-1-newbyte@postmarketos.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755735124253766060?= X-GMAIL-MSGID: =?utf-8?q?1755735124253766060?= 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/Makefile | 1 + .../dts/qcom-msm8926-samsung-matisselte.dts | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-msm8926-samsung-matisselte.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index d0c07867aeab..e1fad9eb0d26 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1061,6 +1061,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-e7.dtb \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-serranove.dtb \ + qcom-msm8926-samsung-matisselte.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \ qcom-msm8974-sony-xperia-rhine-amami.dtb \ diff --git a/arch/arm/boot/dts/qcom-msm8926-samsung-matisselte.dts b/arch/arm/boot/dts/qcom-msm8926-samsung-matisselte.dts new file mode 100644 index 000000000000..6df568f1f36d --- /dev/null +++ b/arch/arm/boot/dts/qcom-msm8926-samsung-matisselte.dts @@ -0,0 +1,39 @@ +// 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"; + chassis-type = "tablet"; +}; + +&pm8226_l3 { + regulator-min-microvolt = <750000>; + regulator-max-microvolt = <1350000>; + regulator-always-on; +}; + +&pm8226_s4 { + regulator-min-microvolt = <1800000>; + 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"; +};