Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp166964rwd; Mon, 15 May 2023 22:24:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IT7JLy+ZdWwAxxOoy6XIX4NLfzBQQ5hNPtAgymsAqUq/KUbxbq9DJTC1jA21kC5aL9utT X-Received: by 2002:a05:6a00:1820:b0:64a:ea46:3b7d with SMTP id y32-20020a056a00182000b0064aea463b7dmr18650496pfa.23.1684214684397; Mon, 15 May 2023 22:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684214684; cv=none; d=google.com; s=arc-20160816; b=sbQoRck1ANUvxbZrGL4MNbYZVWe3YLJ0rB5CHpYqOSkLM5OjLVMWG43bYeM7sL8mTn kai/9GyHEnhyJCXQGoGXdeWUiIX1eo4PezOECUeiZWH/jyt9tGXzHNddWfcGAeKCoZgq 5G2jRobt7I2aBh0d1b6dtZ+dj3UxOtH7Mv8qEan9Wpw0bEe358RSESAtApevCAhedSoK 6Wdbm+6mZyhIt49vMS7ZXDTk4cX5YF+2HtNAYpNSgURMvg6yjYFim/w+o9GFV3PI/cEV G6E3KKz0ilMBvaSl2COCZawZfRYdULj1Ud1jv7k0hwZaxHUjh7WS0JkbuQr6Ei2jam10 WPXA== 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=9p+RF1k2qvowKScQm0dSPecQgxRIHx/F39NT0ZTEpEo=; b=Kia4z3l0O/oZA7C611Sdn4BLu6y9tBuIvv0TbxAA9MLCGrKfZ3eLXHtYIwUVm1r0Bh HjZmF/WVBaE6nvAXLcr/WP+dBveqTpMI5Ki5u7iqYPdrtDWEGVBOJFtLgJl7au3/0Xmi 22/FdgEfu7DOPfiuZvtsl4Q/E0npSw5xpvGuvDsPM6qenBpGSdGKAa2POFE3IewGP6yB XJ6elRuZ21CssyFpK2UsCqnIuKx5f3OiXnwKQFYuPyGhCG4GRRhvOSmMfCoQK1rjizeg PpapOsalDvAUIuuEHF6zNtfkKMlZtJuFq8CbZe1wpqMKG4Mzv1zug4YSS3FWjY85sjWf 1uWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=DZ+mwhYI; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w190-20020a6230c7000000b006439d34a090si18206467pfw.238.2023.05.15.22.24.32; Mon, 15 May 2023 22:24:44 -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=DZ+mwhYI; 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 S229754AbjEPFS7 (ORCPT + 99 others); Tue, 16 May 2023 01:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjEPFS6 (ORCPT ); Tue, 16 May 2023 01:18:58 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F12122D58; Mon, 15 May 2023 22:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1684214336; x=1715750336; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=egqYyhVRS1L7lwDvV6GjFPly9GSKnoKhi0d9c+3Ui+M=; b=DZ+mwhYII35FMDrhCYEezTI21/ZRGPPWpsWqw2Wuic1jPOiHWDDZ2XLw z3jx1Ofi/HvUcVVlS+PVzUtoy6Kfb7BwEHZ+yeLFWBnmbOfJg011eHXok un0NmAHqYALJAC9K2/AeQ1DzU4fnJZDQsvnq9ZCW2Xm7zKXieyO8kGPCB g96ZaQIpjIQEIOsITamXj5gp13UrhgY3eLsvMTdJ61oJh1sb5b4xCMZNH FMTKN+onabDXwI08uUxBJyt9nLZUDaKjmNAVtgik40sXrgjkrmx04PN6F DCZv8P94TnGiYU5HJT2/Xz4HOIxTYbKXRlR3BYD6RDPAWBTvL84RhjsQa 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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, URIBL_BLOCKED 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 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 -- 2.34.1