Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5765787rwb; Wed, 7 Sep 2022 07:43:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR53akV9vXxC0VFcFfR8DF5IABBA90KUxzuU3OlXNw/IyFnDLQMmdiFkcH/95IR/AMzlmc8H X-Received: by 2002:a17:907:2bf4:b0:76f:1053:6e4 with SMTP id gv52-20020a1709072bf400b0076f105306e4mr2576346ejc.443.1662561782261; Wed, 07 Sep 2022 07:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662561782; cv=none; d=google.com; s=arc-20160816; b=jODwheFibzk4Ey3Lh6JG0d62hkiIamZlfijt5PPpIRoJyh+kcQUpaTfP4qq1MrG58P xZhQJ6Nt/CKro0xhg4efPielcFpO3ffccpPowG63WOMcstyL6fEmJb+DrVIK+9JvB6N0 48aQl9BcTqZqiQeVyfnBZWanvQqONvyut+8JgaHOIr4sRkSyWu9ck2Fglr41b7+0xKW2 ti4VnAxUpNPTdApmzW7GKg6CSsEGqxzIhEHlrA7hZ+QgICsV8Sh/SPRAiZslWBVHoxaQ PJmDBq0W8dmLbdwLHtnvrZai1yX7XkIiIFRRfAOvSlBWJdITAZTFmBvcVzubYxgKcdYA ncMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=y+otRUNcNs1V8mDbushJYd7JDgZLYVZ+dmKyvrAjJy4=; b=rlmSjkpjb9wXbebnidnpvLPIXZbSZmKL7BRTuNYZmGq5LrdIM4ZUcWtskkiSerhSwK ue17P8Wqnmo0VCnMzVfEdcPlwgLU+2PIFnhCh3Mz7kgFoJsYQemVrhFeIngzRZ2nuHjy MRJkknsDSYzEoiUkUHxWWSu/xE+p83nLn8SgxCQpq1BZOdaHvzvOsa7uS4y4q7ba0YjM M8OcwdNNlA+FY6MgwUZctZOF3av4uB3paRBGBOIlvhK7eOVKmMstDOlCp9ZFXsf13PLH qtRBZ7pQ3n5TOYKpLTpoMFjrAdRGAEfGbRXGDHRQK2UXoqhxBthIzoeeY1IyhE5VrSqT cH1Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fd13-20020a056402388d00b0044d7a965a08si3842278edb.83.2022.09.07.07.42.37; Wed, 07 Sep 2022 07:43:02 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229866AbiIGOeB (ORCPT + 99 others); Wed, 7 Sep 2022 10:34:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbiIGOdT (ORCPT ); Wed, 7 Sep 2022 10:33:19 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC1FA8983D; Wed, 7 Sep 2022 07:32:55 -0700 (PDT) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oVw6m-0006Sc-31; Wed, 07 Sep 2022 16:32:52 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linus.walleij@linaro.org, Jianqun Xu Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-gpio@vger.kernel.org, linux-rockchip@lists.infradead.org, Jianqun Xu Subject: Re: [PATCH 1/2] dt-bindings: gpio: rockchip: add clock-names Date: Wed, 07 Sep 2022 16:32:49 +0200 Message-ID: <8119974.jRhZ6ZUK3Y@diego> In-Reply-To: <20220902060426.2980951-2-jay.xu@rock-chips.com> References: <20220902060426.2980951-1-jay.xu@rock-chips.com> <20220902060426.2980951-2-jay.xu@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 Am Freitag, 2. September 2022, 08:04:25 CEST schrieb Jianqun Xu: > Add 'clock-names' to the gpio dt node. so the driver could get clocks by > a const char id, this patch names the clock-names as > - 'bus': the apb clock for cpu to access the gpio controller > - 'db': the debounce clock for cpu to set debounce clock rate > > Since the old dt nodes may have no clock-names, this patch not make them > as part of 'required properties'. > > Signed-off-by: Jianqun Xu Acked-by: Heiko Stuebner > --- > .../devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > index affd823c881d..d43d4c71bebf 100644 > --- a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > +++ b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > @@ -27,6 +27,12 @@ properties: > - description: APB interface clock source > - description: GPIO debounce reference clock source > > + clock-names: > + minItems: 1 > + items: > + - const: bus > + - const: db > + > gpio-ranges: true > > gpio-controller: true >