Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4136582rwb; Fri, 30 Sep 2022 13:27:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7yYun/pmxHcUfDsxF9Cof9E4HHtisV5Te8MHf2Y5Q/T48En1L3pLTikxy2AtjrqJb/v/k3 X-Received: by 2002:a17:90b:4f8d:b0:202:dd39:c03a with SMTP id qe13-20020a17090b4f8d00b00202dd39c03amr18509pjb.71.1664569656653; Fri, 30 Sep 2022 13:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664569656; cv=none; d=google.com; s=arc-20160816; b=CsMZWgJ2qX2sXoCbaUUyCVUc6ks4MTUIh0clciTlWxIReVnJZbg+X42uvswnMrrkep +Hv0DVAY/BuVFW5GVsvD8ghue26X2g/veoeDDEWpZKsw+Dvdlp8pjEzVqCuqP9YPlij7 XTr5YlSaVVUxiQUU4hgvkGj/iRIdD8WnubfI9RWAzXkbU4i7VbydIcsoO4o86jA1qK6G y7gOXQBc8mGxhNe8etnfsLv03bwsCNabr4TgUA0OLjkqkiH18K8s2LUtew/h3QEAyUyf sesKYL9zj1OgjmWTs3H+B74YYAixIAyDgopfmQZMe6EejULNIMnKDcnQRZbWlsx5rIIA Hk1Q== 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:to:content-language:subject:user-agent:mime-version:date :message-id; bh=ut6gL2mt3ydxP1men/7Vm2WjLXsVDSGbecUyUlB3Dow=; b=dc0zOs6Eji2lXu8cq83pCmjj1guwwuPF4+Tf000/F+wALexthOoY0YhyU1G46Ud3u5 50ZmrHay6P9af85CpLPteYQFAEA5qQvu1GQUNd1dnUBMOZ+ED00U5AHu9V0ezU/BffjP Aag5Z90dqIJF1vRIpmbCKXnLEZ9/8WZw50OsFdMQdHHpUNSb/ooDHeXnHGMTSs5MrbHl FSE9JW3pZpRorhEnu04ZL6w7PyhVUzpN5hglTXlAjs4cQN80KpPuEANuryVNsi0CPdPo rZHCt5i9rrRtmj3nilTWIop8d4754X1XMunX0uOSXlTgXqgIU5OiMaTIqSMASPYttSiq dGwQ== 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 cu9-20020a056a00448900b00551da47b48fsi3050017pfb.170.2022.09.30.13.27.24; Fri, 30 Sep 2022 13:27:36 -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 S232057AbiI3UUJ (ORCPT + 99 others); Fri, 30 Sep 2022 16:20:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232507AbiI3UT6 (ORCPT ); Fri, 30 Sep 2022 16:19:58 -0400 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [IPv6:2001:4b7a:2000:18::170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B31437410 for ; Fri, 30 Sep 2022 13:19:55 -0700 (PDT) Received: from [192.168.1.101] (95.49.31.201.neoplus.adsl.tpnet.pl [95.49.31.201]) (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-r1.th.seeweb.it (Postfix) with ESMTPSA id 88B941FFC2; Fri, 30 Sep 2022 22:19:53 +0200 (CEST) Message-ID: <3f6ce239-a412-4839-84dd-213a6453388a@somainline.org> Date: Fri, 30 Sep 2022 22:19:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH 1/2] arm64: dts: qcom: sdm845: align TLMM pin configuration with DT schema Content-Language: en-US To: Krzysztof Kozlowski , 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: <20220930200529.331223-1-krzysztof.kozlowski@linaro.org> <20220930200529.331223-2-krzysztof.kozlowski@linaro.org> <2b1a536f-fd84-831a-8b0a-9c0cce5e6421@somainline.org> <1dfd2858-cc30-5cc0-0b2a-209a8bf8bace@linaro.org> From: Konrad Dybcio In-Reply-To: <1dfd2858-cc30-5cc0-0b2a-209a8bf8bace@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 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 30.09.2022 22:19, Krzysztof Kozlowski wrote: > On 30/09/2022 22:13, Konrad Dybcio wrote: >> >> >> On 30.09.2022 22:05, Krzysztof Kozlowski wrote: >>> DT schema expects TLMM pin configuration nodes to be named with >>> '-state' suffix and their optional children with '-pins' suffix. >>> >>> The sdm854.dtsi file defined several pin configuration nodes which are >> 845 >> >>> customized by the boards. Therefore keep a additional "default-pins" >>> node inside so the boards can add more of configuration nodes. Such >>> additional configuration nodes always need 'function' property now >>> (required by DT schema). >> Would it not make more sense to drop this and keep the properties in the >> root node while at it? >> >> Konrad > > Not possible, because the boards set different bias/config for the pins: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sdm845.dtsi?h=v6.0-rc7#n2988 > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sdm845-mtp.dts?h=v6.0-rc7#n729 > Ok, I see now. Konrad > Best regards, > Krzysztof >