Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4633371rdb; Fri, 15 Sep 2023 08:00:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHD7dMf9lB1DWayn/OhzQM4vIIeGFjM4RgSTUUjPhKYwUShEmQg4k7PsD0n4xGu+nPnbvDa X-Received: by 2002:a05:6870:8984:b0:1b0:e98:163b with SMTP id f4-20020a056870898400b001b00e98163bmr2098089oaq.21.1694790001518; Fri, 15 Sep 2023 08:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694790001; cv=none; d=google.com; s=arc-20160816; b=vOGxhNTGpEjYUsdu8NVS3HSnTQq238mQsynrxAE0u3DFPeqbnDVKb1QqcYCDuKSPaU yn7ZVhLaLqfwHM5cIgMfSHseFfvwMQZKOpW8Fb4rAHav/lTEdPv2Wfze7nCSrwhPc44g guviWjGI5Osk9Zbm84m4C4TIQmgvfseLBUDxTYsT7zDv/7Og85qdL4RpS9rc5SMpG3v8 5E3ZotGSBPPsotA9VxKp3qSewobZBizozduJ6cf14yutjymZ6JlqPzKlB12SAWvQSyaW n1QAmeyNK/oGXb+isT0n09mlpfvA0/O2UxAJJcrsw9yc3ICFRj35C/UIMAL16nMKlAJ4 EGZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HpvCFDMwWUOUCetKdRmXzYK3hiMQ/Mu6UwcZ9Y4/eRY=; fh=LbO7G+Ey8gOq5e9lyrJo7wVPcntfgiOuJZzX4/mYlOY=; b=rI8ga2zCdDDinxjlTlRu35uypAUCjXUAg+0+V8McNZGiROrN+dxLTdhUFD1Uedef31 6UHO1kT6JNcV3lS3sOTZ6kCp8Un4AWYb4X/MEWxUl+gb5Cfr3kB3qhc6vmANRkU0pepN UkZbEUktiWxcsYayf75Goo8m/zmnu/NBXWrkzbMQ5IFNi/KuMVfRdpGMw8F2GhcT/IX7 eAP5A94h4Zvu5c6zY1pWC5Ur3HI25TnNmc0KTixhfIsVP+msQncZsULzgqnXM65EwpR3 Dmr9BknKBTYQoBdOrrloLagRSvl099xceI1rG5VLMAwmKdLZmo7IZlRWilp85L7a46NT SOJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LlOn7YDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id z11-20020a65610b000000b00573f9d84ecbsi3332226pgu.387.2023.09.15.08.00.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 08:00:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LlOn7YDx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 615CD83B3896; Fri, 15 Sep 2023 07:59:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233895AbjIOO7z (ORCPT + 99 others); Fri, 15 Sep 2023 10:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbjIOO7z (ORCPT ); Fri, 15 Sep 2023 10:59:55 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3C0C10D; Fri, 15 Sep 2023 07:59:50 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52969C433C9; Fri, 15 Sep 2023 14:59:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694789990; bh=A21SBk79usPEjw1XUt9dSJPMgbCWV6UEMjwE6HhbYMM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LlOn7YDxtz9tg+ngRqO/KxN8xHZl8JF3jNCBW7BlL5UBz6r8EZsBtAI5iFpz/A4Lf 6tcdotMybw5J5x78GH2/Z6Vk3DyTn+/EzyaS01wMJi6P1oZMqOjak2V6P0spemllzD TbFVMqhjjdSEE+7SnDvFqmV8Tmx7sl3v5RPEXf8Yv7Glai2tbLbKDhilHamd39ljWk yOHz9BEIYql1JRKItl6uR6SLAP6RvB3T4Tzaub3IM65qih4LFsC3TJ946KlVjJ7pbQ w5Y99R2VMds4Xhk+D2Q/fWffT9vN92KA0MGcFfLEjyFZk3ZswpmOtMeuM0pJbCdF0E PyhbAwviYmXhA== Received: (nullmailer pid 3718886 invoked by uid 1000); Fri, 15 Sep 2023 14:59:47 -0000 Date: Fri, 15 Sep 2023 09:59:47 -0500 From: Rob Herring To: Tengfei Fan Cc: Krzysztof Kozlowski , andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, linus.walleij@linaro.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, 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 Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: qcom: Add SM4450 pinctrl Message-ID: <20230915145947.GA3716246-robh@kernel.org> References: <20230915015808.18296-1-quic_tengfan@quicinc.com> <20230915015808.18296-2-quic_tengfan@quicinc.com> <6f40ee72-b763-c58d-44df-ea40d1309820@linaro.org> <35371580-8e5a-4f72-aec2-951268c296a3@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <35371580-8e5a-4f72-aec2-951268c296a3@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 morse.vger.email 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 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 07:59:59 -0700 (PDT) On Fri, Sep 15, 2023 at 03:30:16PM +0800, Tengfei Fan wrote: > > > 在 9/15/2023 3:04 PM, Krzysztof Kozlowski 写道: > > 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. > yes, will update to "^gpio([0-9]|[1-9][0-9]|1[0-2][0-5])$". What about 106, 116, etc.? Rob