Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1050255rwb; Tue, 27 Sep 2022 07:51:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6SWo4JjYLZirwO4AJKPI35Yy/65uHUI50cjKugD9NkgUCL47laHDESYEDWQ8w5rxlqT1SP X-Received: by 2002:a17:907:a0c7:b0:77c:d4ac:e8f1 with SMTP id hw7-20020a170907a0c700b0077cd4ace8f1mr23342835ejc.354.1664290266404; Tue, 27 Sep 2022 07:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664290266; cv=none; d=google.com; s=arc-20160816; b=GrzrJwZlZ7/an9WYJReVMnooYx33OVIOH+9pQQaiXcnZqjxjOQ4SWmjxooIxc1b0Ry A6mLmy9/0NKy1aM0XGl12DloFmB/gEFJCO08PNy37FxVhPFoGT3POA51osI5BaYV/zho TzWyKNZAruZesQAC7V1ROW8/uY7+yapKC+TeoK4OXkmtZPOLP40BkCu+1fgXd4ga5rqv YFIicGRtOjWz/uBRExHj58SWEAxgojbvtJLv+laAiBaBCvOLNMfwPhLJGELrBscA/4Ic frXFaEmnCMsFLNa7jga+I2COh2p2CWJosyDxpwq3QeI054fuhRgXXvFSeNtdhyjo2nMC wGkg== 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=ev3n3HXsdxmctruPXinckwm0/GHt4MhpPRr9m0oOsZc=; b=bUd+c+w3eh+pqsbB5dpF96elmrrzeNMINXZS/zu1HkahleHmtvsCaRBxWR3bQbls7R EfGfhZ0nO9QZivvYDC31ZiYugDcrOAEZ2dpsciSsJoDDG+L5sJx1hEWefIs4dm84oKr2 UpMMdUCLGi0p3I79Ryb9jZyW7EEee1HnIkuq3r93QaHX0kIpQKO3fkk7M7WY5WVInYeD nEDVUg2efjk7oxaCxAQSy2B2Hj+uR6MJiiSNykuT55mCjLl11xrosD6zJajuhU0sJcnw EKkonUyi5vbYuSFzvp3C9yDQhN7mD1UuZENHiV/G2YcNdXcvWtVjQRrmQ/MEIfAcxzVu bBsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Bg3/vWwx"; 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 sa42-20020a1709076d2a00b00780261908d5si1826016ejc.16.2022.09.27.07.50.40; Tue, 27 Sep 2022 07:51:06 -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="Bg3/vWwx"; 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 S232883AbiI0N5f (ORCPT + 99 others); Tue, 27 Sep 2022 09:57:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232377AbiI0N5S (ORCPT ); Tue, 27 Sep 2022 09:57:18 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0F8D146F91 for ; Tue, 27 Sep 2022 06:57:13 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id j16so15877359lfg.1 for ; Tue, 27 Sep 2022 06:57:13 -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; bh=ev3n3HXsdxmctruPXinckwm0/GHt4MhpPRr9m0oOsZc=; b=Bg3/vWwxHWbjWj+yyqdJTk09hhh/aL9pHflbIUI6Lnhex/jdIXnWo97O4rpLarE4k/ YnO54AwZUehrw1kGbcEYJNIhJJDKW8XAM8TSOgpnq2YCbDQctFYJQyJDVT2a+aquyQFF SbXR1A8jHGrzXakcSYBebs6Howdb3o/VWjoPLt9TBqg5QIV9p2O0mxJlzlTWVND7GEwk m1RDnZNEeLkLzoDgHyxN4tuxoxt0MUqaxDuepIm1GzBXdSSkjBspxvoDen3ydYRi9Vuo MWq64ggmaStqY3MpKxYl2xhwwWV5kwhjBX73w8d+heu5r1Mth2kObEPHol9+GksUioYu UN8g== 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; bh=ev3n3HXsdxmctruPXinckwm0/GHt4MhpPRr9m0oOsZc=; b=leKEVB9vYg7kv0ERdVVKGsukQ9LurV2uxVjMeEBHqYSxWpMI5f15z8dNETZaHZxbpy TOHZqz9b7qyxWyFXOTC47ewVsfIrTQ04s9YcoQxs+6k6sxD/fVMUXlKLY7SKecpDhkUx wsGtqC/cBPHaFAFEjzJzm6KRKsJHSRwerMbFcfx0UDJIRQlxiQiLpwFDtNUnpun3Y1AA kuBuQxIU4C3ycQ+KLy7xgaIEpcbvETO85e58pMGB59kJLl5gXiIZZdTEuX3FD3i7oE84 In3PxbK64G3kVN3UfbdyLujwnOzfOv6AvBKnDxAJjxa4DuNf84Ut5HhPYDuYzX+VWvdT vAww== X-Gm-Message-State: ACrzQf1j9LbSn8mfVBoQx2ITHkBbkbBGVhfkFkpyOwNqkdV+ngPsAosS TqkLDnzgUk9egQESzrpMba3Aaw== X-Received: by 2002:ac2:464b:0:b0:49e:b29c:2b04 with SMTP id s11-20020ac2464b000000b0049eb29c2b04mr10772069lfo.127.1664287031342; Tue, 27 Sep 2022 06:57:11 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id i18-20020a056512007200b004a1e592837esm170924lfo.140.2022.09.27.06.57.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 06:57:09 -0700 (PDT) Message-ID: <1029e512-02f0-8d08-2994-6440fa9c033d@linaro.org> Date: Tue, 27 Sep 2022 15:57:08 +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 25/32] dt-bindings: pinctrl: qcom,qcm2290: do not require function on non-GPIOs Content-Language: en-US To: Dmitry Baryshkov Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> <20220924080459.13084-26-krzysztof.kozlowski@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.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 27/09/2022 13:42, Dmitry Baryshkov wrote: > On Sat, 24 Sept 2022 at 11:07, Krzysztof Kozlowski > wrote: >> >> Certain pins, like SDcard related, do not have functions and such should >> not be required. >> >> Signed-off-by: Krzysztof Kozlowski >> --- >> .../bindings/pinctrl/qcom,qcm2290-pinctrl.yaml | 11 ++++++++++- >> 1 file changed, 10 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml >> index 5324b61eb4f7..89453cb60c12 100644 >> --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml >> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcm2290-pinctrl.yaml >> @@ -60,7 +60,6 @@ patternProperties: >> description: >> Pinctrl node's client devices use subnodes for desired pin configuration. >> Client device subnodes use below standard properties. >> - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" >> >> properties: >> pins: >> @@ -116,6 +115,16 @@ patternProperties: >> required: >> - pins >> >> + allOf: > > Nit: I think you can drop allOf here and move the $ref up a few lines. > It's anyway different in v2 - there is no if:then. Best regards, Krzysztof