From patchwork Mon May 8 10:47:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 9030 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2064123vqo; Mon, 8 May 2023 04:03:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7WLzZ0fEuL1PX/tkweeutY8lhXN2asp9wrE/X14lk9Xx9B6LdWT1LMCtVseysuRdkTvudj X-Received: by 2002:a17:902:dac2:b0:1ac:4d3e:1bf5 with SMTP id q2-20020a170902dac200b001ac4d3e1bf5mr11418246plx.23.1683543790291; Mon, 08 May 2023 04:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683543790; cv=none; d=google.com; s=arc-20160816; b=EX+N2gDoReNCdeSC6xH8SgP/1nEQO81FjHSfDifEQA29ub9eGRZyCtHyex/xHQIWRV 43Jqgq6Une/2zI5uC5o7ErZTdmnCEkfEkV+Puex86yTFV6bzoIcOR0UIQkZV0WU6WPv2 AaeWO3CD3g2E3cUNnyawNJIzkhptRHvgY3q1wHRwD5sXJ3/pHi1J2IwdIqKo97P+FldR W94qpHtG3okIL9UIsSA82a7C5NuTsdbDMdE+6TMujdDdAerUrRbpOni60KNCMK7ryocV fpqlDLz6PD7QmmCpGiXOVJQYU64fqY/BEFCm3Ssxp5/nSIpr/oSLtweqtiYlaahBzf4t SLFg== 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:dkim-signature; bh=u37A+lBJVbJRVBPncuxRtFq/z1PFZESGCU3hX/iNjcE=; b=emue0njo+8ueYsrc4zevQWbJEG4rD8KxSPEH9LiaCGiNGfDh6w5+ZfPaMM18q/p3c8 Pwqrh3fc+yvcx14dkqNmVIr5MoepQN29RtfyJryH99R81KgKzUqIsXFSyL/0Roe8bB5M LS498v9jbnaclkt2tJQQ0b2k26KzlZXmudKUez64mEb21gP2HaMms3l6Wj33EsldgAA6 y78e4Bu5i7xgtZD9P/wC09xFBuT7ysqJs+/IEYYxtqWX5eV66F8+QeIl/eeEPQDWZ9E1 AnNQNVgtUCQLIz/+GlXGqPEhYha2B7A5dx6il9vUi83Dswws0wWHbGrpG5zYnZ/O6XoG 1VMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=AFeYjIsH; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a170903120700b001a1b75674bdsi8100933plh.207.2023.05.08.04.02.40; Mon, 08 May 2023 04:03:10 -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=@microchip.com header.s=mchp header.b=AFeYjIsH; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235216AbjEHKtj (ORCPT + 99 others); Mon, 8 May 2023 06:49:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235179AbjEHKtQ (ORCPT ); Mon, 8 May 2023 06:49:16 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13D4227F2A; Mon, 8 May 2023 03:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1683542915; x=1715078915; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=49EQNdIK9PQ3HX9272baZWRafc5e6D7/CsGUnU3ZJi0=; b=AFeYjIsHbP7eAp4xCpwYP2rPnwVmT5akWb8cayOJG6YH/SQ0N5wGbqMt hPMXiHDSNSpcwjrse4+qWsXSr9TfYlHSpl5/frtn1kcE91ZL208IBqsqw OL+uhxrEfBQAd27fu8HKnAKn/CuHLKS7sVYMy138A9T5Frn1SjeleeqpE TPs/q5qRLxD2R/Qa1GKbcGn+ZlP6yLZT86sI8hHQa8g9al+g5P5BUimKP yn6jKtwRI4tGTpu4hhvKCymnQK5anosov3BMfE/iSDod2ssba+q4ijeDO 4ZnK5kqAhryrnPBE8IAn4IHqhaOOPM20jDolHQI0btgZBOGdKorQyNiOE w==; X-IronPort-AV: E=Sophos;i="5.99,258,1677567600"; d="scan'208";a="150872826" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 May 2023 03:48:23 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 8 May 2023 03:48:21 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 8 May 2023 03:48:18 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , Subject: [PATCH v2 0/5] dt-bindings: clocks: at91: convert to yaml Date: Mon, 8 May 2023 13:47:56 +0300 Message-ID: <20230508104801.445261-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765323613359574275?= X-GMAIL-MSGID: =?utf-8?q?1765323613359574275?= Hi, This series converts atmel clocks bindings (PMC and slow clock controller) to YAML. Along with it updated device trees to cope with the dt-binding requirements. Thank you, Claudiu Beznea Changes in v2: - in patch 2/5: - dropped quotes from $id and $schema - get rid of 1st "items" sections corresponding to "atmel,at91sam9260-pmc", "syscon" compatible and move it to the proper enum - ordered compatibles by name - add description for #clock-cells - remove blank lines - keep order in required (same order that the properties were defined) - dropped required from allOf - in patch 5/5: - dropped quotes from $id and $schema - drop first "items:" in compatible:oneOf section - ordered compatibles by name - moved additionalProperties after allOf - dropped microchip,sama7g5-sckc from first allOf:if section - moved "required" section from allOf to global "required" section - dropped if:then from the last if:then:else in allOf Claudiu Beznea (5): ARM: dts: at91: use clock-controller name for PMC nodes dt-bindings: clocks: atmel,at91rm9200-pmc: convert to yaml ARM: dts: at91: at91sam9n12: witch sckc to new clock bindings ARM: dts: at91: use clock-controller name for sckc nodes dt-bindings: clocks: at91sam9x5-sckc: convert to yaml .../devicetree/bindings/clock/at91-clock.txt | 58 ------- .../bindings/clock/atmel,at91rm9200-pmc.yaml | 154 ++++++++++++++++++ .../bindings/clock/atmel,at91sam9x5-sckc.yaml | 70 ++++++++ arch/arm/boot/dts/at91rm9200.dtsi | 2 +- arch/arm/boot/dts/at91sam9260.dtsi | 2 +- arch/arm/boot/dts/at91sam9261.dtsi | 2 +- arch/arm/boot/dts/at91sam9263.dtsi | 2 +- arch/arm/boot/dts/at91sam9g20.dtsi | 2 +- arch/arm/boot/dts/at91sam9g25.dtsi | 2 +- arch/arm/boot/dts/at91sam9g35.dtsi | 2 +- arch/arm/boot/dts/at91sam9g45.dtsi | 4 +- arch/arm/boot/dts/at91sam9n12.dtsi | 25 +-- arch/arm/boot/dts/at91sam9rl.dtsi | 4 +- arch/arm/boot/dts/at91sam9x25.dtsi | 2 +- arch/arm/boot/dts/at91sam9x35.dtsi | 2 +- arch/arm/boot/dts/at91sam9x5.dtsi | 4 +- arch/arm/boot/dts/sam9x60.dtsi | 4 +- arch/arm/boot/dts/sama5d2.dtsi | 4 +- arch/arm/boot/dts/sama5d3.dtsi | 4 +- arch/arm/boot/dts/sama5d3_emac.dtsi | 2 +- arch/arm/boot/dts/sama5d4.dtsi | 4 +- arch/arm/boot/dts/sama7g5.dtsi | 2 +- 22 files changed, 253 insertions(+), 104 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/at91-clock.txt create mode 100644 Documentation/devicetree/bindings/clock/atmel,at91rm9200-pmc.yaml create mode 100644 Documentation/devicetree/bindings/clock/atmel,at91sam9x5-sckc.yaml