Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4935604iog; Wed, 22 Jun 2022 08:37:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tY9NmkPA97U+szIGDbbXBHL8sdS2zGtqU5RJYrwr90ZXq7T7qB4HcqW4xxN+QS04U4oFAa X-Received: by 2002:a63:7d58:0:b0:40c:995f:2b3d with SMTP id m24-20020a637d58000000b0040c995f2b3dmr3425377pgn.601.1655912225092; Wed, 22 Jun 2022 08:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655912225; cv=none; d=google.com; s=arc-20160816; b=ouYOYkUMFe+mNWRW4vVqbgxn9ybDlbbOj4Y+zsE+2bEpWXR5Y5dDYCLAm332RnKoil c2ntUsuT1uJ1NhI/D/KbYjxfaCISlNBKfV5Cmna3tmDbRylOaRd+MZXFJGNUxfES+tGj S1cLN1OGSuijjNACFSaSCy3xtyEZxwqSLqbGdEAbI28/tFLYa1XocjiZJVhuZwsGSza8 k86IAmk1VMO5DAV1vhnuUa9wAl8R0M93ZWmShr2O0tb20xEWoEHyf9klf3eRBJxTInzc 3oZt5xvy+vkO+g5yyEtG5CBV0QN8JViktD4sDhGlU2bn3kONlab5wlg78NAgcWumG5td Q3ZA== 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:dkim-signature; bh=Dd9o2JrmgxuX9CbeMpsJCVutDNWP2KQDZreRpDw1RAo=; b=Lk1UZNFQ+BTTiLjHsNaFfKGujykCBZzCCrKBe1Fou5jxmrN7/9MqRJxyVceYPwm7yn T4uqeIrUk4DMDWd0z72/g5CFBkvGDLBJOy9bqzp+1I8pHiy4j6A4ZqmLVv18pCQsV7RM 6xj3K/UimTvPASQSCMwuBfo6XWFmPq1xSws1XMdzjmWXTE+3ewUCmUABx171jf8mL2ac lkpiho0Qw8kXrkJsyfsSXmfh0pbRbHajXA4TwRRlLuz1+2goz8mKkDt9xEogcqZJvgAw cl2qX5ux1tfhnsjXOK87ezrk9AjnZN+jkClNV5mABIilDFk4XTLrLI9YELMJysP7cuCL KTnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FjYAv8Zh; 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 q17-20020a17090311d100b001616a3550desi25814055plh.388.2022.06.22.08.36.53; Wed, 22 Jun 2022 08:37:05 -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=FjYAv8Zh; 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 S1359172AbiFVPNN (ORCPT + 99 others); Wed, 22 Jun 2022 11:13:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359138AbiFVPNI (ORCPT ); Wed, 22 Jun 2022 11:13:08 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7974037A14 for ; Wed, 22 Jun 2022 08:13:05 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id z19so7517919edb.11 for ; Wed, 22 Jun 2022 08:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=Dd9o2JrmgxuX9CbeMpsJCVutDNWP2KQDZreRpDw1RAo=; b=FjYAv8ZhVHzMNIOB5DLrHWhMDOoSii6hdAQpHJrCHbHno4nufxXe4yNmaxmt/bsI1m OSRdXLUsBWItZ+eT+B/iZ5BXMdKBMAd1VSnU/vWVn4Jm/NoPxQuoy9P47Q0PASAjxLiK zTUOfOb5tKteyL6Jf3vgQL5R4WGs84yPMSSJgbi/4DItldcaB3xYFfwlyMFkXR1zGBvk K0HOOZODtUTEYzowO6w7u/8HhJoAzr2FU43ojVEJOcEFI7oF+iftTkT1+W6lCoTe/4CZ ADtUrzgwAGWfkwlgjBWoN45mrag+3qgM9GXSDJoUFK+ePMSJJ3SceHTGy3ID0Xb3Etp9 ErFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=Dd9o2JrmgxuX9CbeMpsJCVutDNWP2KQDZreRpDw1RAo=; b=WXDpFhTH7OtH6nE5tc70jHJk0wGDDDaUqTsmJtA1FJk10pJDB23jYjdje9aYH2DADs NeJFkNdEHVQ/fdC2lLddRFp6Tga2HilIewDhCg0Qlie8nNR8eFlLScJfU7WE2yjR+487 KaL3UUC9Ga5Upo29zw8IayUS8ldlur3dayth+Fbn3cAzSnoz4fSiamRkw/pcfnVuEXr7 F7hu33/KekuzH6fQ4TdWBdJYbGZZoZvslKl6z+/u4QtzJ8d3tzXCaFMHqnJSS+100HBG eUfBu4/VnMTLUsLycxRn9BZHHlob7GPOLJXBSvGaQ4DjNZQBCQxah/LTe1vvLVnukFCD rqBA== X-Gm-Message-State: AJIora+5V3RI4QS8Qm5c+3lslTixsOUyetpwqsA42fy1LVXKUwBOH16c p+bwR/Hxk3AJUQzJvaxhgXzwJw== X-Received: by 2002:a05:6402:195:b0:431:5499:35eb with SMTP id r21-20020a056402019500b00431549935ebmr4713416edv.346.1655910783959; Wed, 22 Jun 2022 08:13:03 -0700 (PDT) Received: from [192.168.0.226] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id e19-20020a170906315300b00704cf66d415sm9632020eje.13.2022.06.22.08.13.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jun 2022 08:13:03 -0700 (PDT) Message-ID: <11697f16-67b1-d32a-eea4-18f56631c72f@linaro.org> Date: Wed, 22 Jun 2022 17:13:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH V2 4/8] dt-bindings: pinctrl: qcom: Add ipq5018 pinctrl bindings Content-Language: en-US To: Sricharan R , agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, catalin.marinas@arm.com, p.zabel@pengutronix.de, quic_varada@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20220621161126.15883-1-quic_srichara@quicinc.com> <20220621161126.15883-5-quic_srichara@quicinc.com> From: Krzysztof Kozlowski In-Reply-To: <20220621161126.15883-5-quic_srichara@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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,T_SCC_BODY_TEXT_LINE 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 21/06/2022 18:11, Sricharan R wrote: > From: Varadarajan Narayanan > > Add device tree binding Documentation details for ipq5018 > pinctrl driver. > > Co-developed-by: Nitheesh Sekar > Co-developed-by: Sricharan R > Signed-off-by: Sricharan R > Signed-off-by: Nitheesh Sekar > Signed-off-by: Varadarajan Narayanan SoB should go after Co-developed. https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L473 > --- > .../pinctrl/qcom,ipq5018-pinctrl.yaml | 145 ++++++++++++++++++ > 1 file changed, 145 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-pinctrl.yaml > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-pinctrl.yaml > new file mode 100644 > index 000000000000..9b16c08bd127 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq5018-pinctrl.yaml > @@ -0,0 +1,145 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pinctrl/qcom,ipq5018-pinctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Technologies, Inc. IPQ5018 TLMM block > + > +maintainers: > + - Varadarajan Narayanan > + - Sricharan R > + - Nitheesh Sekar > + > +description: | > + This binding describes the Top Level Mode Multiplexer block found in the > + IPQ5018 platform. > + > +properties: > + compatible: > + const: qcom,ipq5018-pinctrl > + > + reg: > + maxItems: 1 > + > + interrupts: > + description: Specifies the TLMM summary IRQ > + maxItems: 1 > + > + interrupt-controller: true > + > + '#interrupt-cells': > + description: > + Specifies the PIN numbers and Flags, as defined in defined in > + include/dt-bindings/interrupt-controller/irq.h > + const: 2 > + > + gpio-controller: true > + > + '#gpio-cells': > + description: Specifying the pin number and flags, as defined in > + include/dt-bindings/gpio/gpio.h > + const: 2 > + > + gpio-ranges: > + maxItems: 1 > + > +#PIN CONFIGURATION NODES > +patternProperties: > + '-pinmux$': > + type: object > + description: > + Pinctrl node's client devices use subnodes for desired pin configuration. > + Client device subnodes use below standard properties. > + $ref: "/schemas/pinctrl/pincfg-node.yaml" No need for quotes > + > + properties: > + pins: > + description: > + List of gpio pins affected by the properties specified in this > + subnode. > + items: > + oneOf: > + - pattern: "^gpio([1-9]|[1-7][0-9]|80)$" Use consistent quotes in the patch: either ' or ". Don't mix. > + minItems: 1 > + maxItems: 4 > + > + function: > + description: > + Specify the alternative function to be configured for the specified > + pins. > + enum: [ atest_char, atest_char0, atest_char1, atest_char2, atest_char3, > + audio_pdm0, audio_pdm1, audio_rxbclk, audio_rxd, audio_rxfsync, > + audio_rxmclk, audio_txbclk, audio_txd, audio_txfsync, audio_txmclk, > + blsp0_i2c, blsp0_spi, blsp0_uart0, blsp0_uart1, blsp1_i2c0, > + blsp1_i2c1, blsp1_spi0, blsp1_spi1, blsp1_uart0, blsp1_uart1, > + blsp1_uart2, blsp2_i2c0, blsp2_i2c1, blsp2_spi, blsp2_spi0, > + blsp2_spi1, btss0, btss1, btss10, btss11, btss12, btss13, btss2, > + btss3, btss4, btss5, btss6, btss7, btss8, btss9, burn0, burn1, > + cri_trng, cri_trng0, cri_trng1, cxc_clk, cxc_data, dbg_out, eud_gpio, > + gcc_plltest, gcc_tlmm, gpio, mac0, mac1, mdc, mdio, pcie0_clk, > + pcie0_wake, pcie1_clk, pcie1_wake, pll_test, prng_rosc, pwm0, pwm1, > + pwm2, pwm3, qdss_cti_trig_in_a0, qdss_cti_trig_in_a1, > + qdss_cti_trig_in_b0, qdss_cti_trig_in_b1, qdss_cti_trig_out_a0, > + qdss_cti_trig_out_a1, qdss_cti_trig_out_b0, qdss_cti_trig_out_b1, > + qdss_traceclk_a, qdss_traceclk_b, qdss_tracectl_a, qdss_tracectl_b, > + qdss_tracedata_a, qdss_tracedata_b, qspi_clk, qspi_cs, qspi0, qspi1, > + qspi2, qspi3, reset_out, sdc1_clk, sdc1_cmd, sdc10, sdc11, sdc12, > + sdc13, wci0, wci1, wci2, wci3, wci4, wci5, wci6, wci7, wsa_swrm, > + wsi_clk3, wsi_data3, wsis_reset, xfem0, xfem1, xfem2, xfem3, xfem4, > + xfem5, xfem6, xfem7 ] > + > + drive-strength: > + enum: [2, 4, 6, 8, 10, 12, 14, 16] > + default: 2 > + description: > + Selects the drive strength for the specified pins, in mA. > + > + bias-pull-down: true > + > + bias-pull-up: true > + > + bias-disable: true > + > + output-high: true > + > + output-low: true > + > + required: > + - pins > + - function > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-controller > + - '#interrupt-cells' > + - gpio-controller > + - '#gpio-cells' > + - gpio-ranges Missing allOf with reference to pinctrl schema. > + > +additionalProperties: false > + Best regards, Krzysztof