Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4616206rdb; Fri, 15 Sep 2023 07:32:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4t3ivGka+ZnDw8nYjrzfdv3KAUc0o/az/mGwoLImpza+Wiu7nM87qHjudcie0Tm903EIk X-Received: by 2002:a17:90a:e513:b0:270:1614:11b9 with SMTP id t19-20020a17090ae51300b00270161411b9mr1705273pjy.36.1694788322984; Fri, 15 Sep 2023 07:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694788322; cv=none; d=google.com; s=arc-20160816; b=SxIDZeAxmsGtKFANCbejdyBhJLRECllRf6ggnVc1zHfpKbNnqXbuFqX6a6pPi/sV8V 9o0s49eQ/lVuL2pxvQGzjGmffnerzdgZ6X1rSVogEd4PA/xcmUAtDd4fCtapai+/5EvO fgk5OTkY2Fc+XyBziTkVSu655Wzc/VuTXhlMC6MsJjXaiOm9kfgsilp/MwLBOxHaN+QW tfgOR4JEs6Kb6kkvwRSg7VSin+68BaqTGTn0a1iuyMpF9drtug6jf3oCjWpAoU+fPDh5 SvPXwJcQo69D3iLGPWtQY33TuJOuqpNHvlAFmK01U5B64nqhbsfX0I54pk+GEan/82xQ QSpA== 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=xHiiw2zLmDDKdBpJJDRZPiiiZQs08sZNPmWWWLIoN4o=; fh=V+0+Q2WYLYvisyM3t7Nx46T1V2Cd4ppP9C5jNVlPCgk=; b=RxCD7t6++LUHFIq5wKXoQ/4SihV/Yd0pOmIei+TP27MYfeNeNDeOxJpCSHcTqUyyyV P/N5QHdXminu4VWrk72gbd7r50PySq/VZMEc1+6OycjIewhld+nN7d/ooqxpIRemeBR5 ZsPT/G6hYd91t+eRHqWDJUF1hZEfZilyg3W3pn2UfBM+JZ+MEKP+tkuWwouhVf7YREy6 LZtog6CYJ3ohyA8GRTrHKFg6/ejlFzliXpoxZThoJO6Cj93sNQrHdqTh1roiHo4sbT3t e8Mi85xBtvl6OjS+bi/3elIvTTfJ6s0Z1webH//l0QPm+PB/dr3M1PGAizDRbOZEz6uY X4Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RrgEbkwA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id gt9-20020a17090af2c900b0026ff11a6050si3457489pjb.162.2023.09.15.07.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 07:32:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RrgEbkwA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 45A7A8131A8E; Fri, 15 Sep 2023 00:04:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232032AbjIOHEW (ORCPT + 99 others); Fri, 15 Sep 2023 03:04:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbjIOHEV (ORCPT ); Fri, 15 Sep 2023 03:04:21 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 051DDE0 for ; Fri, 15 Sep 2023 00:04:16 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-501be2d45e0so3067156e87.3 for ; Fri, 15 Sep 2023 00:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694761454; x=1695366254; darn=vger.kernel.org; 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=xHiiw2zLmDDKdBpJJDRZPiiiZQs08sZNPmWWWLIoN4o=; b=RrgEbkwA2AVjCwnK3qad1t0RKawdDXzgVP9FM1Q7Ebe7TGbAJd1nQVrWMMECDoMHJs rLrCD07B8W06Wy5bL8CDSN+EeBssTIuUbZRXA4+NNJrNtO7NB1DYNm6R795Ow5PA7OK0 +3dFwej10XHCKjHr1BbRFp+XBa+xkVjXUcuOQl8NC1CFjbwidrDOkjIdoVLifBeUJakb YKXY4r1DHd9FZ4DmMrHZiyJItDjSE0WOmqCR8X271MBDcNfS65uYB1BiST7nojY9w+VS XS8GbcSjrXN1h2IgAvmgqcMZMnwGCqqFYvfbvEGnqAC2IfnZc/UiTTgykRoxAp6i0JaC 28og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694761454; x=1695366254; 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=xHiiw2zLmDDKdBpJJDRZPiiiZQs08sZNPmWWWLIoN4o=; b=JVMM0iKQLsE6Is3u1aVajsRelMjajmV+Tc3vgSUM8gDLRVz0cyxQVQJzRIubGtx0Jg Oo2y+StbKrkt3HBGSOgnZ6W2WYK0WjhDD1h5ZCNjnmwSYfIrGy3cxvcn9PJRaZNhN+2I mt/J4iBqRM+FPfg9HBLAnanyNsEED2RqoLNBd0DI3MVBsPDkRZd+n09+szTnlYwqkKG7 QcTYrLgi7ef3sKagNCRpNqXOVPi3BL4knnUPxEPz148fuMVr3v6Jy9B9du0ugpTxPV2m gZUmF5VPC3J+QZpG9VNcPQlsUs1jQmnUhGw9Wx6R1W9OcfnXHg0/kYS5lHo0gK3Ezg/A jnTA== X-Gm-Message-State: AOJu0Yy9iP3BHUC2DhV3vDl03eX3hsMYNKMrQOoHc8+daozpU4+n2VYk MKPt5RWm1fjx7EDCGomOC8TYgg== X-Received: by 2002:a05:6512:2082:b0:4fb:772a:af12 with SMTP id t2-20020a056512208200b004fb772aaf12mr617044lfr.21.1694761454189; Fri, 15 Sep 2023 00:04:14 -0700 (PDT) Received: from [192.168.1.20] ([178.197.214.188]) by smtp.gmail.com with ESMTPSA id v21-20020aa7dbd5000000b005256771db39sm1818148edt.58.2023.09.15.00.04.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Sep 2023 00:04:13 -0700 (PDT) Message-ID: <6f40ee72-b763-c58d-44df-ea40d1309820@linaro.org> Date: Fri, 15 Sep 2023 09:04:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom: Add SM4450 pinctrl Content-Language: en-US To: Tengfei Fan , andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_tsoni@quicinc.com, quic_shashim@quicinc.com, quic_kaushalk@quicinc.com, quic_tdas@quicinc.com, quic_tingweiz@quicinc.com, quic_aiquny@quicinc.com, kernel@quicinc.com References: <20230915015808.18296-1-quic_tengfan@quicinc.com> <20230915015808.18296-2-quic_tengfan@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20230915015808.18296-2-quic_tengfan@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 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=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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 00:04:34 -0700 (PDT) On 15/09/2023 03:58, Tengfei Fan wrote: > Add device tree binding Documentation details for Qualcomm SM4450 > TLMM device. > > Signed-off-by: Tengfei Fan ... > + > +patternProperties: > + "-state$": > + oneOf: > + - $ref: "#/$defs/qcom-sm4450-tlmm-state" > + - patternProperties: > + "-pins$": > + $ref: "#/$defs/qcom-sm4450-tlmm-state" > + additionalProperties: false > + > +$defs: > + qcom-sm4450-tlmm-state: > + type: object > + 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 > + unevaluatedProperties: false > + > + properties: > + pins: > + description: > + List of gpio pins affected by the properties specified in this > + subnode. > + items: > + oneOf: > + - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9])$" This is still wrong. How many GPIOs do you have? Please open existing bindings for recent device (e.g. sm8550) and look how it is done there. ... > + > +examples: > + - | > + #include > + tlmm: pinctrl@f100000 { > + compatible = "qcom,sm4450-tlmm"; > + reg = <0x0f100000 0x300000>; > + gpio-controller; > + #gpio-cells = <2>; > + gpio-ranges = <&tlmm 0 0 137>; > + interrupt-controller; > + #interrupt-cells = <2>; > + interrupts = ; Missing example pieces. Again, please base your work on other recent files. > + }; > +... Best regards, Krzysztof