Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp815571pxb; Tue, 12 Apr 2022 14:13:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvO9xDk06W9mcCcagZ21weK1xxmshOqDh+gjSpp6HjZOJelR7/LjuCd3ll+wT/YYv8wLfw X-Received: by 2002:a63:3150:0:b0:39d:a2d7:77c5 with SMTP id x77-20020a633150000000b0039da2d777c5mr2660019pgx.353.1649798011208; Tue, 12 Apr 2022 14:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649798011; cv=none; d=google.com; s=arc-20160816; b=0s8VJpbl2MlVCMiiqUeZEU3h4JDlKktR71b+RZ44jT3cCbrIDDxLu+fxi8PW2Y1ToK eVzWqqkVz2gdvwtn31js5nq0/QTglUI/otnQ3EQJ6QB5aoDF04nqzNWvGonkJR4JymW/ Oo7WqWBFlAEoieWG7wC3fpR2VFLFUPWZmpEpIZrs6GFM8Zqn4OO97NwI3Mo6DwMvPL7x Z0NvJZ0mhtRxD7daQv9m7zq175ZsVnFBln7IFF4v24RGkfZDG0fVoLzAyH41QZDixgej dt75Tbsl2PM95YEuFDmS82btCBrkB34hpv9LcrgZzbhQm8qb59/ZqcE3PkhoZa1DZcdA 947g== 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 :dkim-signature; bh=6AJZHAvc6kDT9/m7rBLTEzcu/QyIsm+/F/qafjCkGmk=; b=SV7U9K11mMU//WQCt6UFQyokkXRqZSztIDSW8+bWp46ZBNxN1qNMOHTXjVeNqmJc+i eLm+6tUP6ANuHkWbdwzY2/OBhk6jrBFDfyfEagaw/qlTp8+SMYV2yH8ZM3CIBBfIbkVI TwDPyGAThgXKEl6rodRzWno9Ku00T5pwMJJmTnvfbeNdcGmeavlIRt1pKhD0URheVViA 4xEcO/+XKs8Sc39+AOPun6n0oCJhrMm9vtHDbkjPPhaPfYH3hUKC9rXWeOvzDQltPcPw g9apLBrwTe+Y6AiVo2gwsbCO3XKc6Afxylj/NuxZ3azab4FI3k++dNUuQvvn6rGXf//V h91A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=n7xcgnLt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c12-20020a056a000acc00b004fa3a8e0035si13735127pfl.236.2022.04.12.14.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:13:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=n7xcgnLt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3B555EAC87; Tue, 12 Apr 2022 13:28:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388180AbiDLJVw (ORCPT + 99 others); Tue, 12 Apr 2022 05:21:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377924AbiDLHyl (ORCPT ); Tue, 12 Apr 2022 03:54:41 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DED7D506C8; Tue, 12 Apr 2022 00:31:58 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 23C7VegL024395; Tue, 12 Apr 2022 02:31:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1649748700; bh=6AJZHAvc6kDT9/m7rBLTEzcu/QyIsm+/F/qafjCkGmk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=n7xcgnLtDkztYhDpaIzdxYG38vhw6uiRIoELHkEsVsU3bQalKAyPABZ1Muk0sa6Js qS2FCkuc0bOPmzFbNlV08P+VAhPa/AE62MtY5zOUO51NYIup2IsKuM0WwsijbO7Krg dwBAgKkTyBtp2slpWIjDXG/VB10aOZuefvg/gzuc= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 23C7VeTk057268 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Apr 2022 02:31:40 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 12 Apr 2022 02:31:39 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 12 Apr 2022 02:31:39 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 23C7Vdc1105779; Tue, 12 Apr 2022 02:31:39 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Alexandre Belloni , Alessandro Zummo CC: , , , , Vignesh Raghavendra , Nishanth Menon Subject: [PATCH 1/2] dt-bindings: rtc: Add TI K3 RTC devicetree bindings documentation Date: Tue, 12 Apr 2022 02:31:37 -0500 Message-ID: <20220412073138.25027-2-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220412073138.25027-1-nm@ti.com> References: <20220412073138.25027-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 documentation for the devicetree bindings of the Texas Instruments RTC modules on K3 family of SoCs such as AM62x SoCs or newer. Signed-off-by: Nishanth Menon --- .../devicetree/bindings/rtc/ti,k3-rtc.yaml | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml diff --git a/Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml b/Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml new file mode 100644 index 000000000000..16aebb8013a1 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml @@ -0,0 +1,87 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/ti,k3-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 Real Time Clock + +maintainers: + - Nishanth Menon + +description: | + This RTC appears in the AM62x family of SoCs. + +properties: + compatible: + items: + - enum: + - ti,am62-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: VBUS Interface clock + - description: 32k Clock source (external or internal). + + clock-names: + items: + - const: "vbus" + - const: "osc32k" + + power-domains: + maxItems: 1 + + assigned-clocks: + description: | + override default osc32k parent clock reference to the osc32k clock entry + maxItems: 1 + + assigned-clock-parents: + description: | + override default osc32k parent clock phandle of the new parent clock of osc32k + maxItems: 1 + + wakeup-source: true + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + #include + rtc@2b1f0000 { + compatible = "ti,am62-rtc"; + reg = <0x2b1f0000 0x100>; + interrupts = ; + power-domains = <&bar 0>; + clocks = <&foo 0>, <&foo 1>; + clock-names = "vbus", "osc32k"; + wakeup-source; + }; + + - | + #include + rtc@2b1f0000 { + compatible = "ti,am62-rtc"; + reg = <0x2b1f0000 0x100>; + interrupts = ; + power-domains = <&bar 0>; + clocks = <&foo 0>, <&foo 1>; + clock-names = "vbus", "osc32k"; + wakeup-source; + assigned-clocks = <&foo 1>; + assigned-clock-parents = <&foo 2>; + + }; -- 2.31.1