Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp114950imi; Thu, 21 Jul 2022 17:14:41 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vAns/SGc6RC5ej6soiX+ac0RSAmVqHCTdMhnCHPSFG2znexurQPS94lwPFd1Oun/noz6/X X-Received: by 2002:a17:907:7243:b0:72f:21d7:d122 with SMTP id ds3-20020a170907724300b0072f21d7d122mr908196ejc.271.1658448881679; Thu, 21 Jul 2022 17:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658448881; cv=none; d=google.com; s=arc-20160816; b=kdkzYs7Ib4EscGIbS5nURDdO2DUiKyfMPBDamgnxcbzY4RFTUHlEPACwsihJbHmjlD YrvbuD0rBSBZzcIrvdkwDklBO7lIsczhjbHVB+QXPDgyh6jKM37uvk+BSYZdo8eJBtA4 TkZSHjx05j0niAN86K6/scNEvcDXyR6UiN0DysW68GRk+scJ15JDapITj6BcM5/2IVkc ndiRRjPsB1YucpQeZn95PplxQ5AQrzJoQuZ1zVQetBj0vkrJnHx86RImPVU67+QqIDYA ErNGjioRfm1LE3XzMU55ZDmNZyyVC7iyl2aJBm10Q1cYv/vm6atZQY8Si797SDbgE69D 5MRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=U9I+JINeYE3zb1B0rjMdnTmI7ZFQSeISlmBleSZtSsc=; b=YUgkbATrPgVi43yxiLCo+pM1dQT9sLLpBHPWNkVHMX5BRpnsCGOYc28fLF1Q4uVZHX gknTXU2vgEMvCeSV6u6OitEmUl1pvHBgvvRzTyLFayVmy5cFbAMNqdbFND7PCK3Hw8sF QDEPhCITXLXkAs4qM38s9VlY47jpb0tSZ97VExjxofPYzbRI8AGyLrRtm69hm8eERUJD RCNM/hJXxkjzKn6dVP1Ca3gtLhejGHxyUOhVsxb4WuA7eV/NPFqaFpGzDj77AjWOnioA mIQOYTDZQkmcKbWk+GbOWwEtRppmD+mXL75nWy0dOKvacpHibPFOSQFSxQHDyWXxPPWI iQeg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a056402230f00b0043a71d95839si3381415eda.546.2022.07.21.17.14.16; Thu, 21 Jul 2022 17:14:41 -0700 (PDT) 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; 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 S229508AbiGUX5q (ORCPT + 99 others); Thu, 21 Jul 2022 19:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbiGUX5n (ORCPT ); Thu, 21 Jul 2022 19:57:43 -0400 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [IPv6:2001:4b7a:2000:18::168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E960189A87; Thu, 21 Jul 2022 16:57:40 -0700 (PDT) Received: from [192.168.1.101] (abxj77.neoplus.adsl.tpnet.pl [83.9.3.77]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 7DF453F67F; Fri, 22 Jul 2022 01:57:38 +0200 (CEST) Message-ID: <0feb9493-155e-0b0d-0d33-e4d0ebf45977@somainline.org> Date: Fri, 22 Jul 2022 01:57:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 3/3] ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530) Content-Language: en-US To: =?UTF-8?Q?Matti_Lehtim=c3=a4ki?= , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220721230231.98886-1-matti.lehtimaki@gmail.com> <20220721230231.98886-4-matti.lehtimaki@gmail.com> From: Konrad Dybcio In-Reply-To: <20220721230231.98886-4-matti.lehtimaki@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 On 22.07.2022 01:02, Matti Lehtimäki wrote: > Add a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T530) wifi tablet > based on the apq8026 platform. > > Currently supported are accelerometer sensor, hall sensor, > internal storage, physical buttons (power & volume), screen > (based on simple-framebuffer set up by the bootloader) sdcard, > touchscreen and USB. > > Signed-off-by: Matti Lehtimäki > --- > Changes in v2: > - Change codename to matisse-wifi > - Remove msm-id, not needed when lk2nd is used > - Remove unused labels from reserved memory regions > - Rename muic node > --- > arch/arm/boot/dts/Makefile | 1 + > .../dts/qcom-apq8026-samsung-matisse-wifi.dts | 469 ++++++++++++++++++ > 2 files changed, 470 insertions(+) > create mode 100644 arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 5112f493f494..8bac4f4f8656 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -1010,6 +1010,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ > qcom-apq8016-sbc.dtb \ > qcom-apq8026-asus-sparrow.dtb \ > qcom-apq8026-lg-lenok.dtb \ > + qcom-apq8026-samsung-matisse-wifi.dtb \ > qcom-apq8060-dragonboard.dtb \ > qcom-apq8064-cm-qs600.dtb \ > qcom-apq8064-ifc6410.dtb \ > diff --git a/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts > new file mode 100644 > index 000000000000..621e0a337724 > --- /dev/null > +++ b/arch/arm/boot/dts/qcom-apq8026-samsung-matisse-wifi.dts > @@ -0,0 +1,469 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) 2022, Matti Lehtimäki > + */ > + > +/dts-v1/; > + > +#include "qcom-msm8226.dtsi" > +#include "qcom-pm8226.dtsi" > +#include Hello! I think generally dt-bindings includes go before the DTS ones. > + > +/delete-node/ &smem_region; > + > +/ { > + model = "Samsung Galaxy Tab 4 10.1"; > + compatible = "samsung,matisse-wifi", "qcom,apq8026"; [...] > + > +&sdhc_2 { > + status = "okay"; > + > + vmmc-supply = <&pm8226_l18>; > + vqmmc-supply = <&pm8226_l21>; > + > + bus-width = <8>; I doubt this.. do you have downstream backing this up? > + cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; > +}; Other than that, this looks good to me. Konrad