Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5441086rwd; Wed, 24 May 2023 01:37:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4YwMM2LYWm5UaOB9N4VFbmIOshlVkgC4tKVlVdV8U6PaayCsJ8vmbodHFnxOsphpWlrpKp X-Received: by 2002:a17:90a:420b:b0:24c:5e6:7035 with SMTP id o11-20020a17090a420b00b0024c05e67035mr15558397pjg.30.1684917463218; Wed, 24 May 2023 01:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684917463; cv=none; d=google.com; s=arc-20160816; b=LVCPQHN1edTwYKgBwuzSS9hm10gXQqzGgxlFNlOHHi9+fd0keq9nLwO74+3vWmqsEk yL6XUVFJPsdUYpGma8+r8qARpGlUoqu0xK5iEf08/ky8saxYwnIvpYJzTBg+uuk2AZLB PXacdI9Q2w2xWO3sDXScMJ2ie6RSz+8fyzjvS1gRG3cZSZJ09amuRbQWGQOOmtdd3pd6 WECcKegZvfL/tJQdRt2ZH9ER0ILACO3IhZyVII/Fy79s0T+YUfdTLvnQAvSuXehqc4ti A9XaQ8D5Q8cPA/Eld0dr3ufQ/YrKhW/tRTUio2mp/vC2lUSo1WuORmyh8SeyDLgSKEiX JAVg== 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=HjL3VdCoFfpStHdVxJIxfr9EKtKjuo80CpX8Na/3bAk=; b=s81a8ZSrcBiOTxZqqXTMkH75VYZt/83LaRqtr0XpnZea80ctCevtXgNJfL84KI43MK f8pZLvTkvpByqoBOudWkRU60Ovun2oEfnV2jrGniyK31QBlAiwb4rujLmiXnZfp6IL/3 7WGkdsfxXu/L4M/ix++HuoxRaRqPgNgdp7KPbjbDjn8qinAkx79DqXs4F8MQHiG72HGr hDZiMf71w78LyTvH+wkjRjWJYNvwH1nKxZtDvbXj3VlahxVsD3BwPbRJoO73SQfSeq/n gW0uoOx7A3NWa+DuEWn86uaA6eHBPjeH6Av2BDfVynxPry56SmUz/paKOJ0jHwnUSEjZ Bpnw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i64-20020a638743000000b0053b8f80c656si5498811pge.781.2023.05.24.01.37.28; Wed, 24 May 2023 01:37:43 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240206AbjEXIco (ORCPT + 99 others); Wed, 24 May 2023 04:32:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240182AbjEXIcd (ORCPT ); Wed, 24 May 2023 04:32:33 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A76931B5 for ; Wed, 24 May 2023 01:32:29 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1jub-0002r6-DN; Wed, 24 May 2023 10:32:01 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1q1jua-002RaX-H5; Wed, 24 May 2023 10:32:00 +0200 Received: from sha by dude02.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1q1juX-009jM7-KR; Wed, 24 May 2023 10:31:57 +0200 From: Sascha Hauer To: linux-rockchip@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Heiko Stuebner , Kyungmin Park , MyungJoo Ham , Will Deacon , Mark Rutland , kernel@pengutronix.de, Michael Riesch , Robin Murphy , Vincent Legoll , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, Sascha Hauer Subject: [PATCH v5 21/25] dt-bindings: devfreq: event: rockchip,dfi: Add rk3568 support Date: Wed, 24 May 2023 10:31:49 +0200 Message-Id: <20230524083153.2046084-22-s.hauer@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230524083153.2046084-1-s.hauer@pengutronix.de> References: <20230524083153.2046084-1-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 This adds the rockchip,rk3568-dfi compatible to the binding. Make clocks optional for this SoC as the RK3568 doesn't have a kernel controllable PCLK. Signed-off-by: Sascha Hauer --- .../bindings/devfreq/event/rockchip,dfi.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml index 7a82f6ae0701e..e8b64494ee8bd 100644 --- a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml @@ -13,6 +13,7 @@ properties: compatible: enum: - rockchip,rk3399-dfi + - rockchip,rk3568-dfi clocks: maxItems: 1 @@ -34,11 +35,21 @@ properties: required: - compatible - - clocks - - clock-names - interrupts - reg +if: + properties: + compatible: + contains: + enum: + - rockchip,rk3399-dfi + +then: + required: + - clocks + - clock-names + additionalProperties: false examples: -- 2.39.2