Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp269475rdd; Wed, 22 Nov 2023 15:52:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnemhAU/KkiiDQdWhFXQCrZcYXsA94tMlrTUsDkdRrF6gFmuzxx9dFx/MhORG3t0vpLHOQ X-Received: by 2002:a05:6a20:1455:b0:17b:2b7e:923c with SMTP id a21-20020a056a20145500b0017b2b7e923cmr4452256pzi.16.1700697146073; Wed, 22 Nov 2023 15:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700697146; cv=none; d=google.com; s=arc-20160816; b=EeOdFNJ+AS8A1zkm4yKEayVRF2XCxPmyLXMlA/wBNjhF1+xQ/D22cdWmOnsY9Zmah7 k+aqtH5FRMeFnkGR26fUZWiA+Lt9+Oe+89kvB0N9L1tHL6eEZGmOcIrBxL/KOkSNLxF8 WlASYBxyxZGr4bw6Yg2/NE6MpBjkn4OD8DIPKykEsXFHodxlSaym7qXKbn+dM+bxNFmH wKR666tBe338Nk8qzD1WqWUARFdwzHe64Eya7Zhjvl5pDa5mcuvExatbWppp88zRp7dx WI3u79do6mO5wzr9xZE+7kdUItscdn9mMbov4M2l6cNjo/Q7XTVpauyfKpRknYbgRetF ECjg== 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 :message-id:date:subject:cc:to:from; bh=179e1B/Zb3hI4d1H9Ax8rZxN3KlOKuiYLE5iNc21E6U=; fh=vrFuwBez1Ty+FEPW/bN41Ev/X6Q8phYJE+u9FOA9zB8=; b=UMfnqE700X6AUKAhheb8mElsrkznTB1X+/o1FTMwCV+Mfpm7qYkTyo9UC/VEbKC/ze kjfTLSnLxxZH71ZdZzo3NVqeh/ICUqYFESZIeQd175nxN2Sxi/torjJBgZ5GosrjPxl1 /7jhzOqHPdZXoT1bLwtSfrJfG2F0fxOfeziFBxoEjy7yV7ayLcbk4mIlYvA6yL6HT4FY 1u3wKD70IM839afJ8+zjM08r0mUPpkKPrPptAyQKeSH9h0I6VjX1Bfraglc+RAosuT3v TKViYRb8APg5T1XTSTYq3XrzvAVgbyWo16CUqo33DXK7k48xcDWrDxkj+0FchbPDuqEt gQ2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x10-20020a170902b40a00b001cf5cc1cac9si441011plr.221.2023.11.22.15.52.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 15:52:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 384D6825F12C; Wed, 22 Nov 2023 15:52:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231410AbjKVXvQ (ORCPT + 99 others); Wed, 22 Nov 2023 18:51:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232473AbjKVXvO (ORCPT ); Wed, 22 Nov 2023 18:51:14 -0500 Received: from mail-oa1-f52.google.com (mail-oa1-f52.google.com [209.85.160.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE14CBC; Wed, 22 Nov 2023 15:51:08 -0800 (PST) Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-1f0f94a08a0so231210fac.2; Wed, 22 Nov 2023 15:51:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700697068; x=1701301868; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=179e1B/Zb3hI4d1H9Ax8rZxN3KlOKuiYLE5iNc21E6U=; b=J5unaip9C0BlM9q00fnx1e5GsLB5+nL4qG4nAXgX3A/GMSCAYMt8oTG2SNMgJtfs/i 7F4InRQGcyWS7esSx6TCVZorwETpn5fS/Q/FrWPT5fUMVJGNQ3a5oNrgNvYZbKq5tkuI F/tZ8DfLrA9lcV4EcWxztKxGbEoiS1KTeh2rkvxa+LvUubefhpw08hSBezVo4g2h+abv 9cADseNuzDwZaSSNOgWGeg5IDuO9uSif5go045sghhzfb0cTw/s+NO4AmBk0GJvRRJBL bJAPloSFz7V7gnitFWo29VUwVKj1yjR9XRdtc6owyh6vfG9d3IG7KGvDXFiEcumlM6hj Bwew== X-Gm-Message-State: AOJu0YwhvX88Gmg40PB2BLZUV4saVC7do4hxWNKgCJVwsMlqr62H8Fxq 19UcquBgMTfNmcl4c1XaG1OexTB1qg== X-Received: by 2002:a05:6871:79a:b0:1f9:9128:9a94 with SMTP id o26-20020a056871079a00b001f991289a94mr3533802oap.2.1700697068210; Wed, 22 Nov 2023 15:51:08 -0800 (PST) Received: from herring.priv ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id dk39-20020a0566384be700b004645692438dsm1109jab.91.2023.11.22.15.51.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 15:51:07 -0800 (PST) Received: (nullmailer pid 2966730 invoked by uid 1000); Wed, 22 Nov 2023 23:51:05 -0000 From: Rob Herring To: Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Wei Xu Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH] dt-bindings: hisilicon: Merge hi3620-clock into hisilicon,sysctrl binding Date: Wed, 22 Nov 2023 16:50:58 -0700 Message-ID: <20231122235059.2966532-1-robh@kernel.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, 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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 15:52:20 -0800 (PST) The hi3620-clock binding is simple and always a child of the "hisilicon,sysctrl" node, so just add it into the hisilicon,sysctrl binding and drop the old txt binding. Signed-off-by: Rob Herring --- .../arm/hisilicon/controller/sysctrl.yaml | 17 ++++++++++++++++ .../bindings/clock/hi3620-clock.txt | 20 ------------------- 2 files changed, 17 insertions(+), 20 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/hi3620-clock.txt diff --git a/Documentation/devicetree/bindings/arm/hisilicon/controller/sysctrl.yaml b/Documentation/devicetree/bindings/arm/hisilicon/controller/sysctrl.yaml index 5a53d433b6f0..7a221e1c09df 100644 --- a/Documentation/devicetree/bindings/arm/hisilicon/controller/sysctrl.yaml +++ b/Documentation/devicetree/bindings/arm/hisilicon/controller/sysctrl.yaml @@ -82,6 +82,23 @@ properties: ranges: true +patternProperties: + '^clock@': + type: object + additionalProperties: false + + properties: + compatible: + enum: + - hisilicon,hi3620-clock + - hisilicon,hi3620-mmc-clock + + reg: + maxItems: 1 + + '#clock-cells': + const: 1 + required: - compatible - reg diff --git a/Documentation/devicetree/bindings/clock/hi3620-clock.txt b/Documentation/devicetree/bindings/clock/hi3620-clock.txt deleted file mode 100644 index dad6269f52c5..000000000000 --- a/Documentation/devicetree/bindings/clock/hi3620-clock.txt +++ /dev/null @@ -1,20 +0,0 @@ -* Hisilicon Hi3620 Clock Controller - -The Hi3620 clock controller generates and supplies clock to various -controllers within the Hi3620 SoC. - -Required Properties: - -- compatible: should be one of the following. - - "hisilicon,hi3620-clock" - controller compatible with Hi3620 SoC. - - "hisilicon,hi3620-mmc-clock" - controller specific for Hi3620 mmc. - -- reg: physical base address of the controller and length of memory mapped - region. - -- #clock-cells: should be 1. - -Each clock is assigned an identifier and client nodes use this identifier -to specify the clock which they consume. - -All these identifier could be found in . -- 2.42.0