Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6143390iog; Thu, 23 Jun 2022 12:14:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tt7W3/YLsplRf2Cb+f+Oj1lU5E127z8A1PrTjHbwyJWKeRwRpzEeAjWkd/PAtX0USSmsv7 X-Received: by 2002:a17:90a:cc1:b0:1ec:e912:2d1c with SMTP id 1-20020a17090a0cc100b001ece9122d1cmr5524540pjt.56.1656011687760; Thu, 23 Jun 2022 12:14:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656011687; cv=none; d=google.com; s=arc-20160816; b=gMQ5mXS4XPJY+MuLB7vRcDnJOvMhfRBy/jMAu4f126h2p5c4iHGdr3zOxUtjbLnsqj I/SgRa2RNBarsJyGJJ/H0bHjP7e6ZTs+Mq/MoGDbLKGxOG98jz7XoH0Y9g1nhrGBcxpm sXQLe05WPvReQ1KSS0W2EhaFYsOBHV3y+ldFKzR43c0kgDLernqf4eF6/IWcbAGs1h4s Tf+MuKLpkfyWtFSl2Dv7Umq6IbkhQmFDs0SW67sn7OmM5xVELW/esetfk61QHzIXHfJl b1Nb0A12IDADfNxmuSiTh+ujYrGkEdvFQidl3I7q/JELe7FeeymEKJco54SuKrW231TS zSKg== 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=j6QqpEy1GUThCO+tC17N8Mxplz9oP+bLaTtTJw+1a30=; b=t9fi25KHxMZZKaATzpXKmAAKHef/TdtwdvItoaRBi/E5GgWbmZiZd84oyc9OMUMis3 IgEoUYdSUxqdSFPebVwe2t92rp6WtnpHz7wvTTCmdIreGf45vs3Q9wmeyu+VhdkFf/vN vyNAPhxhs5WQPrDBDpj+ng06VVaVcIedsgYjFHHMA4CGVaQhjWoDBCl11vH4bjVMWvDo MMZmivxV/fE112Tep8FCw8f/sIHaQPLbxJKzv6hOGNiJOPTF+2ULvb4C1HiRW3e4sK1g ASLpOJAGcG32sC1i8umRzOWtGsmhIcH1VExLNWTVuRRMWzL3QyVoSxI5bVBicXVy8zJP m4CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kANU7q+L; 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=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a1709027e4600b00168f7b5a84csi353176pln.242.2022.06.23.12.14.35; Thu, 23 Jun 2022 12:14:47 -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=@ti.com header.s=ti-com-17Q1 header.b=kANU7q+L; 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=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234641AbiFWRoc (ORCPT + 99 others); Thu, 23 Jun 2022 13:44:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234826AbiFWRiU (ORCPT ); Thu, 23 Jun 2022 13:38:20 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0672D4705E; Thu, 23 Jun 2022 10:08:35 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25NH8B1l045818; Thu, 23 Jun 2022 12:08:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1656004091; bh=j6QqpEy1GUThCO+tC17N8Mxplz9oP+bLaTtTJw+1a30=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kANU7q+LkeAGfgDwQZNO/O44i/0rWc5nKBzwkhyzXgMUhZMkp6TIvT82QB6n4acfW qy7Lgnz2gyOO03MRh/0A5c+G4zuZbAJKg2PFs38dFQucF2rGkZI4uwd+7M9ooH+K63 7oJEMxVXd7m3Gu4ZA3lfj/wo7zdQzKcET72CREtU= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25NH8BLG092608 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Jun 2022 12:08:11 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 23 Jun 2022 12:08:11 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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 via Frontend Transport; Thu, 23 Jun 2022 12:08:11 -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 25NH8BKc078201; Thu, 23 Jun 2022 12:08:11 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Alexandre Belloni , Alessandro Zummo CC: , , , , Vignesh Raghavendra , Andrew Davis , Nishanth Menon , Krzysztof Kozlowski Subject: [PATCH V4 1/2] dt-bindings: rtc: Add TI K3 RTC description Date: Thu, 23 Jun 2022 12:08:07 -0500 Message-ID: <20220623170808.20998-2-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220623170808.20998-1-nm@ti.com> References: <20220623170808.20998-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=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 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 Reviewed-by: Krzysztof Kozlowski --- Changes since V3: * pickedup Krzysztof's reviewed-by V3: https://lore.kernel.org/all/20220513194457.25942-2-nm@ti.com/ 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