Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6671469iob; Wed, 11 May 2022 02:48:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8np/Mchd39x85SWYiu1fM5Vih1qtbQD4iqcOCYj2lWnGYJE6/znMbxfd1RRfdiKjcOuHO X-Received: by 2002:a17:907:6297:b0:6da:6388:dc58 with SMTP id nd23-20020a170907629700b006da6388dc58mr24036969ejc.472.1652262524420; Wed, 11 May 2022 02:48:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652262524; cv=none; d=google.com; s=arc-20160816; b=chO+neeq9EPrsRV0Khy1SvR4Oz0ek8ZEC9AumaeJIYJwIFDcniS9zPE2L5KvgEQTMG VU6DVnvR/Zg4nLSd66DHfwiteaOzGxHCYVngMuV5YLfoXzj3xTMxP+BxOCpd0derzJG0 leQ/hNJy/uxotaeUH9hfPJ9RJTiYRJtBOJwyQRUwjEqGgxDeWLtimIu7uE4RkFymWY4r MxIboE2zHBo2BCwfMSDUFGTOZ5SGpyXEwWPRhFrzUWM19+hWlqHOGQN7X4L7VY3XN7tg ejK7oW8KwbN/urNLpPsiwpCJB0zHAbw32SiRx67Bsrj0TyymKGNbTjj2dEA8ZMJtsziY Z3pQ== 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=AlYirRfjI9pXG85C1Hrc3SgTsPlWG7ZZ+sbpHiMv+lU=; b=ut3KnzsiWcVe9LhvQYObhJdnkI3j5/YMKMx/mGBJvwYsZ1hdDuzsIzNQvvH9JQ9mdM 9/DdG+NLgBCb+NqfHCdccaIEU9h1gtQUmXxQXpBPQ/T48k9hBXZsWhT+y4/lTngs+ztb beCnejQW54zMQEMUsL+p7pAM3Z/AO2GbupcFKpFZ+buQqg8KRFc12HxOYh06Vd/zH0/W 93UU4abxfQHujOwY+xRC8xsC78LT4HVfKUZXHLkIQ7+vQQOiP55+RV7U4vRJL1NEdjrl bwzKpCIts56iRKGUTigBP1HLzUY3nM1/Z8tcT1y60yX0apTh//II/e3n7LEM2sVGI34z sXaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=saqWaUlR; 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 o13-20020a170906974d00b006f4071d5054si2008651ejy.52.2022.05.11.02.48.20; Wed, 11 May 2022 02:48: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=@ti.com header.s=ti-com-17Q1 header.b=saqWaUlR; 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 S239413AbiEKA0f (ORCPT + 99 others); Tue, 10 May 2022 20:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231210AbiEKA0Y (ORCPT ); Tue, 10 May 2022 20:26:24 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B625C86E; Tue, 10 May 2022 17:26:21 -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 24B0Q1NA088298; Tue, 10 May 2022 19:26:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1652228761; bh=AlYirRfjI9pXG85C1Hrc3SgTsPlWG7ZZ+sbpHiMv+lU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=saqWaUlRXTvyvDvyXz+YiRKYDAFK7luoRsTVNFwn2cUti1amIX9VHwYhAnEcuCKKB +7pUg7vjh+f5z6rCY9a9EdKlTrMDInt6iXb9lfpSCerlpPHQYoVQObOICOquZYLcNR aAhz92EYe5C9b0EJIWP+EFuGDX7B0EJYREq5xW/g= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 24B0Q1lG130623 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 May 2022 19:26:01 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) 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; Tue, 10 May 2022 19:26:01 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) 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, 10 May 2022 19:26:01 -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 24B0Q1XK108673; Tue, 10 May 2022 19:26:01 -0500 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring , Alexandre Belloni , Alessandro Zummo CC: , , , , Vignesh Raghavendra , Andrew Davis , Nishanth Menon Subject: [PATCH V2 1/2] dt-bindings: rtc: Add TI K3 RTC description Date: Tue, 10 May 2022 19:25:58 -0500 Message-ID: <20220511002600.27964-2-nm@ti.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220511002600.27964-1-nm@ti.com> References: <20220511002600.27964-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,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 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 V1: Krzysztof's comments addressed: * $subject updated * assigned-clocks* dropped * Dropped the un-necessary quotes * Dropped the extra example, which serves no purpose now. * compatible is just an enum now. V1: https://lore.kernel.org/all/20220412073138.25027-2-nm@ti.com/ .../devicetree/bindings/rtc/ti,k3-rtc.yaml | 61 +++++++++++++++++++ 1 file changed, 61 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..444e18df6231 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/ti,k3-rtc.yaml @@ -0,0 +1,61 @@ +# 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: + 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 + + 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; + }; -- 2.31.1