From patchwork Tue May 16 05:18:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13242527 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3857C77B7A for ; Tue, 16 May 2023 05:19:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ObPcflOjoh2YCceLC4SPRys/5t07UfeuaKyT1XxWSEI=; b=YvFUH5MmFEkFwq Wm5yS3k6F3IxPLKq+RfEcgs4Vo9OvaVtjtVym4/eAenGVNNFcDk9FC+9FHRZuLXiyKHlwxg9YXjD5 fPNyXiJkSLvhwAPPpxgLCJwOlU3hZyQBCN4aBTow+V7Ix6B6vvEEI1y2H7HgF/HSvxuM585FSVA4P 50iu0nfwYY3gkgsPPqiEjyNTgfLM0qfBXIoN6aKhfmae3Uh4jqd2XJANd77eKggBZQk8BXssDoocP WHYdk136IDvnNEPTkoKSKy/zI4yWKCOsi5qllniQMC6TZGxI6MQxLnacFoBkmzZgKX/LLalCmlPvt rMIVMruoPOqqVb8F/E6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pyn5a-004Osg-0x; Tue, 16 May 2023 05:19:10 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pyn5W-004Oqa-0U for linux-arm-kernel@lists.infradead.org; Tue, 16 May 2023 05:19:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1684214346; x=1715750346; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=egqYyhVRS1L7lwDvV6GjFPly9GSKnoKhi0d9c+3Ui+M=; b=LPGfwSlMVlqhF990LRFQ4b5pXh96wtyY6y660+Dm0BdPNI1AO8jXOCJ+ KxWeGY/iF4XlSVzWbLmerJEwBNM5pR+svyOGSeOcSLwUfdTCepp58C8JR sFmSP3nSLvaaRAZaV8FydMTRaZSmXWPubdTqjRTQQb5CSOs+VhoaWTME2 CTYcG/DiOCMHUtW6IgjdKJyuaF3CMXCcnW+Vqz6ofZmjnzrQvIbPy5Fcj rpRSoFtsjxamzRvdnSUuEApRRkWhBgMghykFlXtkgfhE+nbXVo1zaWeAO cykliHdeYmZmAwb7ZFtqLHNgqzwOK8SNQlVSSP2DEFqlKIJH5m18Nbzsq A==; X-IronPort-AV: E=Sophos;i="5.99,277,1677567600"; d="scan'208";a="152243970" 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; 15 May 2023 22:18:54 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 15 May 2023 22:18:54 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 15 May 2023 22:18:50 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , , Claudiu Beznea Subject: [PATCH v4 0/5] dt-bindings: clocks: at91: convert to yaml Date: Tue, 16 May 2023 08:18:31 +0300 Message-ID: <20230516051836.2511149-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230515_221906_260081_A75F3FBE X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 v4: - changed the approach the compatibles are treated in patch 2/5 to avoid having 2 enums on one items entry (thanks Conor for hint) Changes in v3: - in patch 2/5: - get rid of 1st "items" section and embedd it in the last compatible enum - sort alphanumerically the compatibles in allOf - collected tags 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 | 153 ++++++++++++++++++ .../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, 252 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