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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4214AC05027 for ; Mon, 23 Jan 2023 16:50:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232230AbjAWQuR (ORCPT ); Mon, 23 Jan 2023 11:50:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233454AbjAWQuK (ORCPT ); Mon, 23 Jan 2023 11:50:10 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AD0E2D165 for ; Mon, 23 Jan 2023 08:50:07 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id v10so15287439edi.8 for ; Mon, 23 Jan 2023 08:50:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kWCI2M5MRTLd+nORwrHWu4yoS6PIWa3IEl2T22HQAmA=; b=mW2XjebZvisk2ij/kthEbIC2eqFxOWbI4ADgSd4W5aqwEFnK9mkmrZMJVkaduZ1w/G GBWz1hlnUYLRYLH7rH8HM86b+nt/w5mqtISoQYZvsBVyZ0Tqo2/ZA7cDtSXjPHoOwAlq 1UfxgIvB81O4V7EeKgtJ+TMpD7mA7R6VX6dy/XMsWFu1+LUSdRfkHkeaS3MDH8Zn8vTf OFyRev0RDxo5HX7+R5LXZ3QmK9MBkNdoVm+2K6twK9gV4W9JNJpfyJcFPFon6WWJWjoQ F8nDBqEa3XklYw9dLy2nL7/krXOnt9KqNFsMPHBroX1BqkqAECiSnkcbPzUi5N2NgvIM jioQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kWCI2M5MRTLd+nORwrHWu4yoS6PIWa3IEl2T22HQAmA=; b=snlByuo0uGoaKJLP9LDD7j7BkGMxI4roxtdgHx/GWM9K7b+3hY9YuEgbYjxACaIsUa Yc0o5+Qi98QiPK+LexdpsiOy+JacCjpZxhlf7csfi6SrG/fV+Q6DnfzdQMlTUl0fzp5P OHSUx5NTqXrgActShEQ+/nPr2iVdPnsccBSV1l4S4Wh5/Zy4/HW8S/QBjEM8A6Z6w4UI 2/OTEre/B3j/qLIkq+Twf4h+mlBBo/UtVajI75bsBkf7i3ZTULWqHKQ2wXJBVj45T8GE qIAWENZv2EHvC5jcTQIOFarYcnMl7VlPWfVgzj9TvgRXuAbWWVQOG8PeiRNVfr1fBLqK ohMQ== X-Gm-Message-State: AFqh2kp8pwZ0qWgGSjjLerYvqnBoXYcWa7fLBYCkiLWLMqmkj0DeYdge 7x3M5MiNWxVwu/CkpLlOBTI67A== X-Google-Smtp-Source: AMrXdXscKM3+EaCOCzMlfENTh1GzycpQBpDW2I7dFrhsdfeIC6t63AC/KVM27bK2DzVnqlmzBE70fw== X-Received: by 2002:a05:6402:1f85:b0:45c:835c:eab7 with SMTP id c5-20020a0564021f8500b0045c835ceab7mr28003140edc.37.1674492605945; Mon, 23 Jan 2023 08:50:05 -0800 (PST) Received: from [192.168.1.101] (abxi24.neoplus.adsl.tpnet.pl. [83.9.2.24]) by smtp.gmail.com with ESMTPSA id m20-20020a056402431400b0049ef70a2894sm4385926edc.38.2023.01.23.08.50.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Jan 2023 08:50:05 -0800 (PST) Message-ID: Date: Mon, 23 Jan 2023 17:50:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH 3/3] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535) Content-Language: en-US From: Konrad Dybcio To: Stefan Hansson , Andy Gross , Bjorn Andersson , 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 References: <20230122144749.87597-1-newbyte@postmarketos.org> <20230122144749.87597-4-newbyte@postmarketos.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.01.2023 17:48, Konrad Dybcio wrote: > > > On 22.01.2023 15:47, Stefan Hansson wrote: >> 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>; > This is identical as the common value. > > >> + regulator-max-microvolt = <1350000>; >> + regulator-always-on; > This value already exists in common. Nevermind, I misread the diff. That said, you can commonize them. Konrad > >> +}; >> + >> +&pm8226_s4 { >> + regulator-min-microvolt = <1800000>; >> + regulator-max-microvolt = <2200000>; >> +}; >> + >> +®_tsp_3p3v { >> + gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>; > The indentation here seems off. > >> +}; >> + >> +&sdhc_2 { >> + /* SD card fails to probe with error -110 */ > Maybe this SKU has some different pin properties or > needs some external GPIO/regulator? > > > Konrad >> + status = "disabled"; >> +}; >> + >> +&tsp_en1_default_state { >> + pins = "gpio32"; >> +};