Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp983223iob; Fri, 13 May 2022 18:32:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9IhhM/H5rR6F1khr3b2hejaV6yhUcr0U2omYrUPRZZ/di9Z7dTt6rj5KwlxA8CDtUktEO X-Received: by 2002:adf:d0d0:0:b0:20a:d93f:e252 with SMTP id z16-20020adfd0d0000000b0020ad93fe252mr5998772wrh.78.1652491964151; Fri, 13 May 2022 18:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652491964; cv=none; d=google.com; s=arc-20160816; b=W0jbX1v/X7kIT7clHX4y54FANon/jou3/1MJF0AdHBjNiXLunvs0z2Vo14SqqTJz/X I5DqwrvunZzCuSK8ItlbwBd6St49ZorjWU12D4Zzb0IfxcoK/sHO08r4Bs38Yv6li63t ZnIeLCx1NpwiEiCbWS4I8ERu3jgFbEd1s2pfRKIKVwVY/QztpmBRQIaL4VOxB22c8DJL rMKys5VAu/ZVB9r3YHjLbRq3djvT4n7nIPcpAvUkO9juUHqaDirLtrKJAk1+TDDa79lA ILLHVpMKgwChgsg8VY7gw1kf9ZrvNRKP6Xi3aNJbObA07KPJpDS0aoNH1PgFbrDEVOiz 52RQ== 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=qMbUUmCdSX2UP9WkDpZKcRdHK4nWn1RFjF/SkedJ/uQ=; b=GU+nKdjNPmHRGfoHrZh5uldWNEvFLxK4tEBpoMJhy6qM3B4bonYCQxDonelxPUzfo/ UwYwnbmiC8kow9w1JQwYUru8C5Niuw9RrdfA7FvlQfuG406XtMau0xJEVzQF4hxOuMcX v1KNRMyKR9yRIM5Xwd6AgVLaFZNzyenIR7+zz/n8Rzc7U8kw00EfIr5n2+gVD2xe9KNs G00aZ4Z26ckne+PXDSaLqk9dDQQ9apJwjFbtlvUqEiShJfYijYAaZDtlw052X7vZfQYP lt7VdUFekgK1oF1mxysQvA82O0WVUpi+eU0S0ApASWkVp3bNlaoA82QMvNCK+e8YR3cc CUdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=O99B66BW; 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 n2-20020a05600c3b8200b0038ebbbb9da9si7985010wms.213.2022.05.13.18.32.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 18:32:44 -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=O99B66BW; 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 7D13A4019FB; Fri, 13 May 2022 17:00:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379464AbiEMTpX (ORCPT + 99 others); Fri, 13 May 2022 15:45:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231138AbiEMTpV (ORCPT ); Fri, 13 May 2022 15:45:21 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B188D506E3; Fri, 13 May 2022 12:45:19 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 24DJiwfh111964; Fri, 13 May 2022 14:44:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1652471098; bh=qMbUUmCdSX2UP9WkDpZKcRdHK4nWn1RFjF/SkedJ/uQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=O99B66BW8hhWCQ+yGFQuz+6CKgsXyfwdt/vrKSomPYGXwHcMYws4yPtt2exSwqPdt ThfXPAwT8xAbFzIkK7mpozsWOxjxOobYs1MMBiRHqv4TyWeaI8Y+y9AHtJcBXmwFDh q7q0HUS39Emiv5bJJXu0rghdMsrwsu5u/a4jv124= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 24DJiwQD112108 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 13 May 2022 14:44:58 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 13 May 2022 14:44:58 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE112.ent.ti.com (10.64.6.33) 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; Fri, 13 May 2022 14:44:58 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 24DJiwBH067045; Fri, 13 May 2022 14:44:58 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Alexandre Belloni , Alessandro Zummo CC: , , , , Vignesh Raghavendra , Andrew Davis , Nishanth Menon Subject: [PATCH V3 1/2] dt-bindings: rtc: Add TI K3 RTC description Date: Fri, 13 May 2022 14:44:56 -0500 Message-ID: <20220513194457.25942-2-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220513194457.25942-1-nm@ti.com> References: <20220513194457.25942-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.6 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=unavailable 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 --- Changes since V2: * Krzysztof's comments addressed (rtc.yaml, dropped wakeup-source, switched over to unevaluatedProperties) V2: https://lore.kernel.org/all/20220511002600.27964-2-nm@ti.com/ V1: https://lore.kernel.org/all/20220412073138.25027-2-nm@ti.com/ .../devicetree/bindings/rtc/ti,k3-rtc.yaml | 62 +++++++++++++++++++ 1 file changed, 62 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..d995ef04a6eb --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml @@ -0,0 +1,62 @@ +# 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. + +allOf: + - $ref: "rtc.yaml#" + +properties: + compatible: + 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 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + +unevaluatedProperties: 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; + }; -- 2.31.1