Received: by 2002:a05:6359:322:b0:b3:69d0:12d8 with SMTP id ef34csp267036rwb; Wed, 10 Aug 2022 08:01:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR7NG0lsqmEuATr793UC86bBiJicplfuV5hzjD1gnmXH1iMDHtydVrxF8rAnjvxYZwWwHlIN X-Received: by 2002:a05:6402:1907:b0:43d:e91d:e544 with SMTP id e7-20020a056402190700b0043de91de544mr27004177edz.107.1660143682968; Wed, 10 Aug 2022 08:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660143682; cv=none; d=google.com; s=arc-20160816; b=c3E1R92PUP8kUKDe0WbvuWLW1Zx67+1xejVD04qS3iAYRJA/EEIkyB3HMuyuRF4y8F O6kW0oedBiJppPKvpuhPK4aHk6Y4a1NcxMG9ZNiYPJ2cfKZ2So5INIsVD9HvHh96UUVl D0VrWsIjbowtv4bGT0Fq3oDnfuL2UQVKPrt2i58aTAgQw+T69BSMtNMUnu4B0yR5IehB IC1cppuNG6eXtx4tttxVhXKMPHyFSpAWa0l7oRL/uH0d3OzE0U89b9SbERVqKouGrlOi 23G2eAyA6i4rOooAl6uGyN2zLZZ7EsDJgPvVBfRR7S4CCxWUJE7suFp4+wTw2AoNu1SA hGcQ== 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=1vigc/s4YfDj/ooJiN5THmcp5/HApro9MC2TGzeGn+E=; b=phlpKejbuVvGPdoqEuB8ibuaU5WxZGuuhRqUdvfujHXcdKXOC3Prqr8rpyXXFxpb7O 99SAyevoaFiEsCLJC2JooXBQUjGsM7DIN3nOdYVqpfNd8KbAT/suU4209SsZfFh37VaB e4Jb5R0TkjkBAO3TwhYCVargHi53LH3L4hlN7oO/CKX7E0L1CYNWFVqVaLlcr1W3ftYg i+JV/k+sd1Gf+TvEaQQz4aTmsb6CKZ1thItPPZ33Gvf4qoRbuq4Ptvs4MYb+gDRo/DUF WLEWrE+cFf36kyeuIROnXO2OC2nifjvwSZMSr74iOgfEidxJSupgiqPvhY7YZ1/HhVA9 oIKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l57E6NKm; 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 k25-20020aa7d2d9000000b0043dcf90c94asi10295502edr.67.2022.08.10.08.00.55; Wed, 10 Aug 2022 08:01:22 -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=l57E6NKm; 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 S232698AbiHJOqd (ORCPT + 99 others); Wed, 10 Aug 2022 10:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232957AbiHJOq0 (ORCPT ); Wed, 10 Aug 2022 10:46:26 -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 EEB3F5245A for ; Wed, 10 Aug 2022 07:46:24 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id a9so21522320lfm.12 for ; Wed, 10 Aug 2022 07:46:24 -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; bh=1vigc/s4YfDj/ooJiN5THmcp5/HApro9MC2TGzeGn+E=; b=l57E6NKmXHlM4aUQ7FGA8/Y/QyaX3WmDuqINA3dE8lt6G/sYNCr+cwrZla7AUCeBMW ZyDDBgE3SCGylJBHCZZFJ+/YVFQ/q6cVpX5ifRyvUQR3cVGkEjIWzQF50GWOsstaj6Vf /oIc4VB5swBCuk01aItKRiLSYBFIrKvcvJDdqGLHGycgMwinPQWM7ptvHFvwL1kTRxxG YZKQXcz4aRfaXD98cPnY/P68xstD10wCcgvRWhwwJ+tYcVBx5hzP6Txuui8CsMZyP71e n75lVzP+1zm0qUHpd3jm+CpmF4A8USKVOkH6Gq2R4Q80gM6tbGj74a5nn6GLV1PHTOrj 6LAw== 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; bh=1vigc/s4YfDj/ooJiN5THmcp5/HApro9MC2TGzeGn+E=; b=YHVzHIhkHYtlItDYWL6y38ID/DoYcS8QQDiRZduUs3uYtjjF6Hw77+XudBxSRzWwdG OEROusld1RrtKZ7LTI6FCScQPk9K5aJ912JDq1aJBb7LoRcFuc2KOESOqZcTIOupDb8r EoudvsxYMv8auIinc/OZe4zAFEDkVpoC6VUUPxKv8zNsn/R39J1OlkClsA9bZmUNVgoU BCjYRK8JztBz5WN+ltworZ3q/SHxGlwdejZaDI6SzsLVWFzH9il3+MKjodIxOQlhwzB5 AbaXB/qvT0fM3OFELEVg1kVYBvvegMGybUmTgLkHtuk5lRgF/uClQxXGyOAL6O9MJ6b6 u0pQ== X-Gm-Message-State: ACgBeo10tQ8OTFFUpW0NW4SzjS7n9LiHmCKAVcol1iTqhXLQNlH3BCHz 2R4p0CkzYy23fmk8SRkvkvyf4thy6WQB3Po1 X-Received: by 2002:a05:6512:3d20:b0:48b:9e72:fb42 with SMTP id d32-20020a0565123d2000b0048b9e72fb42mr7308138lfv.299.1660142783294; Wed, 10 Aug 2022 07:46:23 -0700 (PDT) Received: from [192.168.1.39] ([83.146.140.105]) by smtp.gmail.com with ESMTPSA id e2-20020ac25462000000b00489d1896c06sm365688lfn.125.2022.08.10.07.46.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Aug 2022 07:46:22 -0700 (PDT) Message-ID: Date: Wed, 10 Aug 2022 17:46:21 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v3 1/3] dt-bindings: gpio: Add imx scu gpio driver bindings Content-Language: en-US To: Shenwei Wang , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linus.walleij@linaro.org, brgl@bgdev.pl, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev References: <20220810133005.74653-1-shenwei.wang@nxp.com> <20220810133005.74653-2-shenwei.wang@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220810133005.74653-2-shenwei.wang@nxp.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=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 10/08/2022 16:30, Shenwei Wang wrote: > Add binding document for the imx scu gpio driver. > > Signed-off-by: Shenwei Wang > --- > .../bindings/gpio/fsl,imx-sc-gpio.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml > > diff --git a/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml b/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml > new file mode 100644 > index 000000000000..66abff316c0c > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/fsl,imx-sc-gpio.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/fsl,imx-sc-gpio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: GPIO driver over IMX SCU firmware API > + > +maintainers: > + - Shenwei Wang > + > +description: | > + This module provides the standard interface to control the > + resource pins in SCU domain on i.MX8 platforms. > + > +properties: > + compatible: > + enum: > + - fsl,imx8qxp-sc-gpio > + - fsl,imx-scu-gpio This is too generic compatible and it even conflicts with the above... Your driver binds to both without driver data which is even more confusing. Make the compatible specific for one, given SoC. Best regards, Krzysztof