Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp829644rwi; Thu, 13 Oct 2022 05:57:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM46nvdwR8vyko+LhImNmC+SWfXl9h9JAETgNEECRcF+nZaX7Mnb5dirQdzWGfWTMBjFubj0 X-Received: by 2002:a63:e22:0:b0:458:cfe7:958 with SMTP id d34-20020a630e22000000b00458cfe70958mr29563971pgl.449.1665665820875; Thu, 13 Oct 2022 05:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665665820; cv=none; d=google.com; s=arc-20160816; b=0ADzEdwJQE00JrHTBmZlwfD7ve1Ac4c+79Wyd0aGN7xQGlFqIqfMQKmb+maG3yShzj TEq8kz7WE5rmWbbpIQV7msb+6txgFAUzynEf/N0LQugSTNRSjtahwrIsHXwJyRKSH4JE vt+V7WfcwxVBf//S00Wm7mFqTwPB8IPrDbRyhR95paDPazRKhAgvXiGiPFVoEwYZCqH7 wSaPVMuO0SYKxjA6PQKbgbhKZhGQMhq+qmww2zoG2lPtKqCixB9nd1ZXzgdIqc/tFeLu j56n0UD43mo7JDsHyR44kBCNw2PbBQrlJfrtHfVypmvfRcB9imo82LREc6vbgu0lBzO6 cK4g== 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:dkim-signature; bh=390wRPD9oe0xd/uU6WvHiSqS/MuVjNl5zczVPfqBsBg=; b=av96VAniU5RJS6yErSQIm/PfRs5mGj4z9w0GoWcmy7RtVRO60ULQvb1J8TW4l2MCN8 n4eQFycBCijoAOrwBeb3id8sk6Y+lSsKiIMoERYF2Me8+fASwXLRP9bYkVeWY/HNYrTF b8bNTubncBeT+mBr+8gsPgF/HabJ5xyLqdXzGE0/9slO2Ukt1P5DzHoY5Ky3GD1bgWDK nLKQRsmBeS4nNkm9mykhygdik9tT1YoIC26tmCmNt11OInxsp6HL7I7k+UF0bn6rIhjA alR3Ju9zuchGh7Ld0P+h14QnyjXYngKL7bBT9r9X5Dx9O0aRzzS85k8609XEBlqToODd wAMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yNPj4OaJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p13-20020a654bcd000000b0042b6b681286si22233827pgr.84.2022.10.13.05.56.47; Thu, 13 Oct 2022 05:57:00 -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; dkim=pass header.i=@linaro.org header.s=google header.b=yNPj4OaJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbiJMMay (ORCPT + 99 others); Thu, 13 Oct 2022 08:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbiJMMav (ORCPT ); Thu, 13 Oct 2022 08:30:51 -0400 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44A2AD258B for ; Thu, 13 Oct 2022 05:30:49 -0700 (PDT) Received: by mail-qv1-xf2b.google.com with SMTP id o67so1130712qvo.13 for ; Thu, 13 Oct 2022 05:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=390wRPD9oe0xd/uU6WvHiSqS/MuVjNl5zczVPfqBsBg=; b=yNPj4OaJGCY11Uif7Ct3WjVbag7S3DlIvdhknbtIL6sUVINs6EKBi46FfRYAhsLrdN X1crCWv0aa80GCQdmRyjSdvzQM1U5utSgYP6yIPukzj7myYEfhm6UsBnizr+hJ2ibEPA 2mEcEU4miIkLLuHJg5It4JvUIdEXEAT5bV7FoF98N8w1gCXN8pegmEDvKkk/CoUhD4Jm QadoMCni0eNEzRxie4ReRhY8fiD5cRsEW9SDw/UwKj2u+BT1gDEY9HjoC8uVqy9HN85O 2pitzE3eElslji7v1gfRy4RhqoccuD4LaWdPi/Z/O3J8s8kzEQUP4YgSaiyK2xmCwlhT tSDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=390wRPD9oe0xd/uU6WvHiSqS/MuVjNl5zczVPfqBsBg=; b=5ju7ffoMq9i0h0Xf9NbZqQ4Acx8UwsQiTHThaJgnS1X3B3uv+sBtixXCjxITIhd96q nZjlFCPQl6j/2MOBnoeAEcB1l6A1Ice22nS8crq/K3+E4mbiwmBUPunCm7xCYRs97uu6 jDB6g4PHONTXls2OvweO4FYZaeloMjvdEOSvYzovTqZHiA8aqW5/DM48legETyQRiqvS vEO6rwGquvx6sI92SoYCLseqC5eoy3M6V1gOHPzyzum4+5Y9nVdmQiR3IlENalThvk4A 18jwAkhs8zSSEhXx2tmxwIrZ68XarHPnMnq4sydHAIiPsggZl9g7XT3rPpHRYCcaKnuG baFQ== X-Gm-Message-State: ACrzQf2XlAJKKho/cKhH1DJP398kjU6KzQPGQwcuYbt+IjhmleJGfWtf FcWrhrSmBbfL2BCVCh6yOz/oWQ== X-Received: by 2002:a05:6214:1d24:b0:4b1:8acb:b3bc with SMTP id f4-20020a0562141d2400b004b18acbb3bcmr26794446qvd.126.1665664248312; Thu, 13 Oct 2022 05:30:48 -0700 (PDT) Received: from [192.168.1.57] (cpe-72-225-192-120.nyc.res.rr.com. [72.225.192.120]) by smtp.gmail.com with ESMTPSA id dt39-20020a05620a47a700b006ec59941acasm13206478qkb.11.2022.10.13.05.30.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Oct 2022 05:30:47 -0700 (PDT) Message-ID: <84dee7a6-f8f7-75ee-b0a2-5c1516e7c0fd@linaro.org> Date: Thu, 13 Oct 2022 08:28:37 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH 2/3] arm64: dts: qcom: msm8996: align TLMM pin configuration with DT schema Content-Language: en-US To: konrad.dybcio@somainline.org Cc: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221012151545.39061-1-krzysztof.kozlowski@linaro.org> <20221012151545.39061-2-krzysztof.kozlowski@linaro.org> <99ae66c725776f110272cdc2359241f7@somainline.org> From: Krzysztof Kozlowski In-Reply-To: <99ae66c725776f110272cdc2359241f7@somainline.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/10/2022 14:32, konrad.dybcio@somainline.org wrote: > On 2022-10-12 17:15, Krzysztof Kozlowski wrote: >> DT schema expects TLMM pin configuration nodes to be named with >> '-state' suffix and their optional children with '-pins' suffix. >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 96 ++++------ >> arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts | 68 ++------ >> .../dts/qcom/msm8996-sony-xperia-tone.dtsi | 26 +-- >> .../boot/dts/qcom/msm8996-xiaomi-common.dtsi | 10 +- >> .../boot/dts/qcom/msm8996-xiaomi-gemini.dts | 8 +- >> .../boot/dts/qcom/msm8996-xiaomi-natrium.dts | 4 +- >> .../boot/dts/qcom/msm8996-xiaomi-scorpio.dts | 8 +- >> arch/arm64/boot/dts/qcom/msm8996.dtsi | 164 +++++++++--------- >> 8 files changed, 153 insertions(+), 231 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts >> b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts >> index 5cdc7ac1a9c0..a3d1ff1aba8f 100644 >> --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts >> +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts >> @@ -422,82 +422,46 @@ &tlmm { >> "NC", /* GPIO_148 */ >> "NC"; /* GPIO_149 */ >> >> - sdc2_cd_on: sdc2_cd_on { >> - mux { >> - pins = "gpio38"; >> - function = "gpio"; >> - }; >> - >> - config { >> - pins = "gpio38"; >> - bias-pull-up; /* pull up */ >> - drive-strength = <16>; /* 16 MA */ >> - }; >> + sdc2_cd_on: sdc2-cd-on-state { >> + pins = "gpio38"; >> + function = "gpio"; >> + bias-pull-up; >> + drive-strength = <16>; > How about drive-strength before bias- properties? I think most DTs have > it like that. Sure, I can move it. > > Other than that, > > Reviewed-by: Konrad Dybcio Best regards, Krzysztof