Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp629588rwi; Mon, 10 Oct 2022 05:21:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5LtT4ALGb8n/F9cN09O6un0R6bMAye37QkEm5GpGvCqhVYYUXVm2FgvpEf3UPw5WaREkfF X-Received: by 2002:a17:90b:1e0a:b0:20d:1fec:21bf with SMTP id pg10-20020a17090b1e0a00b0020d1fec21bfmr11120417pjb.189.1665404463122; Mon, 10 Oct 2022 05:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665404463; cv=none; d=google.com; s=arc-20160816; b=GbMBoQZKTmqeTHk2OLa1J0rf7dNjKtM3i7wArbomUeQ0YTe6UjLrB9k6jXwLWNuHd9 YOxr9AMsWqkWYuVs/g+1p9QEKsg8SY4zeb60pbyhld2f10sWNCOM8daptjdbG0QQaGZ3 PRn1aHAcA0NT8PaUzzC8n0zPUSvZ9/CquDpH9OT8L86ubPpR7wiqQBL7BAYfXSRXOyrm tdgtHk4qkc++x302A9P8qc7Q6T/2FSJKrXlA3zfAtTR0Cx7W7RRFX3/UpzRxFNhOIy1X WVzVvKnlC6/+rUF78FrsvxeQUp+0fnbd3OxfklQgE2udm5kZmPhEe0td1x/um9I22uUA YkMA== 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=6KLFalUAyDYRRAuo2RZEo0CIB7dAfq1L+VrdHdQSF6M=; b=RVh+ZHU4XKzGueI6l9A8gjNmo39+77zrfGMzBuIezaU3DsNl3VvXorZHx0w5Mb20W7 Gd5rs8TKur5J07VyWl2sa42RV3TmG8dbN5+H3hX20MMBbx81wllR1g2Wa/12C8dN1zNR JFarUzDHivlOpTt+HOA6IvHi1nQGyYMhEgzEGqstNnLh9Z4CWU84IKa2MhI3CuVDoVSH E7IPkya48X7w4lcDnDG/OYjek6QiIj4F9hqZuFTJHHlI2BtaU0LctrM25NLwdlsa83Tn HhIcTn6d8kWa8DAb1I1Sdk5WT2IOauuMR91dwMB5nPzhZhU0GC45WpCpEfu7HB1gZI0N bN7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJ9JbKxF; 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 x22-20020a170902b41600b00172696f35e1si10644128plr.482.2022.10.10.05.20.51; Mon, 10 Oct 2022 05:21:03 -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=ZJ9JbKxF; 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 S231689AbiJJL2F (ORCPT + 99 others); Mon, 10 Oct 2022 07:28:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231134AbiJJL1r (ORCPT ); Mon, 10 Oct 2022 07:27:47 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E23456EF0B for ; Mon, 10 Oct 2022 04:27:41 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id l19so6934489qvu.4 for ; Mon, 10 Oct 2022 04:27:41 -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:message-id:reply-to; bh=6KLFalUAyDYRRAuo2RZEo0CIB7dAfq1L+VrdHdQSF6M=; b=ZJ9JbKxFDyiBd5daTqxJj86MOdeWinWUnr80mi1bPPACzfNeK9IvC/g6gqx/LXA9TJ MPWcdYUyUamm4i3pL63JnHFDjFRnK+nRIcJU523efyNUnGOublJ+QAOpvO9tGknp0y68 1O4CsyiJ4oTUucISC5Yu3lmbM9wQrEpCsU2bg/+HgKrO/9ilAC1cNBFi8/zcd3erdzPt qnCV9ZClNByB4GjT5MyOyJaTTsGK6w10otN49B8UOqhZmi+d0Xv+2x3KUFXboPEcgntn lboXJDeOkj+0bI29uA7ufSEJHQeYVIRk6JxQIfRAqOO6NxJ7xdqFe+fcxVvNlpyk+qpB jMxQ== 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:message-id:reply-to; bh=6KLFalUAyDYRRAuo2RZEo0CIB7dAfq1L+VrdHdQSF6M=; b=g4Q81q5jY4F3T/a+uB2Cq5uqRXYzDl3yi1ilHzSRCTxBXIKkEVTvKUIMbonggiOYNn wLXj715qgnnIhMXRimtWMW/sNmrnymXj3BqB6ceY+Mn0IqI1l4Qqy/w42FERrZav4FXE 62RHkKHozReYWiZIn6UK3LLMIFUdEpzL5hl+oMjrnV5CyS3PgRRsIb7ETL6V3xjwu2h+ b1uBr1H2EcIMoYY9D3auFeTS787AtKxB5GpezTfI/8Ff89H2mzkqY+pOCWdjp0/b5Gdu Ca/LLF/ZoN9+kaUHXdVgIHEZJX+2CqOivGTrvrUqqMDpe7doQI/HKuuSBEwquJi95PQ5 1wzQ== X-Gm-Message-State: ACrzQf1K/cTcMY+sd2k7q7tcyTCCZzb//nu/oyK2WWgI/bUfBlEvs+n1 ery7tLJOLkhtrPxUciuSqHuX5w== X-Received: by 2002:a05:6214:5cc5:b0:4b3:dd79:cc7e with SMTP id lk5-20020a0562145cc500b004b3dd79cc7emr8205111qvb.76.1665401261100; Mon, 10 Oct 2022 04:27:41 -0700 (PDT) Received: from [192.168.1.57] (cpe-72-225-192-120.nyc.res.rr.com. [72.225.192.120]) by smtp.gmail.com with ESMTPSA id t28-20020a37ea1c000000b006cdd0939ffbsm9977560qkj.86.2022.10.10.04.27.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 04:27:40 -0700 (PDT) Message-ID: Date: Mon, 10 Oct 2022 07:25:29 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH v3 09/10] dt-bindings: pinctrl: mediatek,mt6779-pinctrl: Document MT6735 pin controller Content-Language: en-US To: Yassine Oudjana , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Andy Teng , AngeloGioacchino Del Regno Cc: Yassine Oudjana , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring References: <20221007125904.55371-1-y.oudjana@protonmail.com> <20221007125904.55371-10-y.oudjana@protonmail.com> From: Krzysztof Kozlowski In-Reply-To: <20221007125904.55371-10-y.oudjana@protonmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.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 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 07/10/2022 08:59, Yassine Oudjana wrote: > From: Yassine Oudjana > > Add bindings for the pin controller found on MediaTek MT6735 and > MT6735M SoCs, including describing a method to manually specify > a pin and function in the pinmux property making defining bindings > for each pin/function combination unnecessary. The pin controllers > on those SoCs are generally identical, with the only difference > being the lack of MSDC2 pins (198-203) on MT6735M. > > Signed-off-by: Yassine Oudjana > Reviewed-by: Rob Herring > --- > .../pinctrl/mediatek,mt6779-pinctrl.yaml | 46 ++++++++++++++++++- > MAINTAINERS | 6 +++ > 2 files changed, 51 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > index 71a9aae2cc8c..7b120803a1a5 100644 > --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml > @@ -10,6 +10,7 @@ maintainers: > - Andy Teng > - AngeloGioacchino Del Regno > - Sean Wang > + - Yassine Oudjana > > description: > The MediaTek pin controller on MT6779 is used to control pin > @@ -18,6 +19,8 @@ description: > properties: > compatible: > enum: > + - mediatek,mt6735-pinctrl > + - mediatek,mt6735m-pinctrl > - mediatek,mt6765-pinctrl > - mediatek,mt6779-pinctrl > - mediatek,mt6795-pinctrl > @@ -63,6 +66,33 @@ required: > > allOf: > - $ref: "pinctrl.yaml#" > + - if: > + properties: > + compatible: > + contains: > + enum: > + - mediatek,mt6735-pinctrl > + - mediatek,mt6735m-pinctrl > + then: > + properties: > + reg: > + minItems: 8 > + maxItems: 8 > + > + reg-names: > + items: > + - const: gpio > + - const: iocfg0 > + - const: iocfg1 > + - const: iocfg2 > + - const: iocfg3 > + - const: iocfg4 > + - const: iocfg5 > + - const: eint > + > + interrupts: > + items: > + - description: EINT interrupt Blank line Best regards, Krzysztof