From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1414FCD1296 for ; Mon, 8 Apr 2024 15:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t9TIAdRuamWa5sI5/quUz9yq5sGPjlea5sKnEKwD8YA=; b=Is2Um3oYsBCv/2 3Df1Mr+2Bp2iPI3oVJTxZCB6Hj+YPOVL5OYlnbJZ06xkvFjrLHTRXxJKEsKZm1qnH0rheYNAKz8Oy A2oGm/3R8rGqf03uEptYwVD4ds+pwREsEuI1Y6Ll2ewhEZ+l9cVjePpqlW9JCXPs+4GyDbXd/qtF3 jjTTQTMVcLJSOoeYLuNT82/y4sbfP7MVRavbC1rOunSBDw8m4EE5EGUA1ZvB3+86+Arqj8EwBswbw wYM9OMLnYgzaMZogrJW0zggVRwmGwXpSDoBRR8VJ/+GtlfH9eS1oSm2Ub1O5jTKX4Z0FQ+kPyAnXT qDTms+Ki6R20E/9Pgv4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtrJW-0000000G664-1qKg; Mon, 08 Apr 2024 15:53:42 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtrJC-0000000G5pm-0rjw for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2024 15:53:24 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a4644bde1d4so646349966b.3 for ; Mon, 08 Apr 2024 08:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591599; x=1713196399; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=4rI91zKEHaZphCjid+rr3ztF+AksAKCVPYsgJBuGJSE=; b=TgB0pY5LvMlN2EmpRZiDMqGJvNMTKnJnK6YK/aRVselILR4TfeeCRBZgpxXq94SrIy dprABaVTDePirVlK+QAb+6ROnbVbXd6nyILaGOMXeL4SmUGXUqBCPahRcJUxgQgkphJ4 EY6Am5GA7eSjxvorC//WnPlv2HlPoaLrgtB7Mu0Nfo64PxDl8bUe9GObZGrXMYMvqg6o 3f8+nTMxtYdsOj4M0kOSiIuJyk1PzN6ud9rHOXF3PNGT+3rMY1pZsAVLGKD5IHFbJuBn JbWZbv0k82eWUGYSga/VJg5eWO3cAMEyC0omyTZalakksl2yKPSZH5k+1j9EOeyhMkIT nCsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591599; x=1713196399; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4rI91zKEHaZphCjid+rr3ztF+AksAKCVPYsgJBuGJSE=; b=TSZ2+Jc6oxobdCNfjh/Ki44pAy3n4uri2x1tGWxjA4FpBCtGnzZccn2kqXkL9625vQ CorG4jmosqUXdYhO8pO5wAbunLoaInnG+VLun24OpLC68w3AgL0nclBHjKiwC7Z2I/lm oUbKzY/yIs1O/RI/SmaAmUstYvBEAlHrdxfRNBF6n2S6PH7X0aDqi44vMWpg2ChITjee tWUK/DgGrRp68wOY1pB5qGZ1D8ZlLr48+kaa27jedWkxhB6HxxsmKdPZiYkPp5P7nifM 6wmnMBXgglBguVV/g49ot1JdWyVnaQAFCeiPEc1SDkEHj0DLxlBwx3dSEobAJJWwc47w nXSw== X-Forwarded-Encrypted: i=1; AJvYcCWwESHvg1ykRdtbjLhfxB59SI0XwpnVEKFPA6pMKtoGYiRVL+2xi1b7IqLwitTshBccBh7b9Wd9+VBaAAx8nQG/jxy7E7KNgzhWgZjfAND78R1pbMw= X-Gm-Message-State: AOJu0Yz7Weu1QH0KZA9NBUwPE5Ga2qrGhjpORmKJ/HCLmNVXaGxwvsys 3V4FH6RMQfI+PvpMzCp8r2bceIumKEMEYswD1KbN384aoQPWYJjY X-Google-Smtp-Source: AGHT+IHimdaFx4mr+fd5liP9CQQHQfUAme+YF2mKZ7a1UnXQ6iSPME0h09ObN08oeUq6W9IgNv/UPA== X-Received: by 2002:a17:906:cd03:b0:a47:4a32:604 with SMTP id oz3-20020a170906cd0300b00a474a320604mr5925265ejb.26.1712591599181; Mon, 08 Apr 2024 08:53:19 -0700 (PDT) Received: from [127.0.1.1] ([213.208.157.67]) by smtp.gmail.com with ESMTPSA id l13-20020a170906794d00b00a46a2779475sm4547849ejo.101.2024.04.08.08.53.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:18 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:05 +0200 Subject: [PATCH 5/9] dt-bindings: rtc: rtc-aspeed: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-5-c447542fc362@gmail.com> References: <20240408-rtc_dtschema-v1-0-c447542fc362@gmail.com> In-Reply-To: <20240408-rtc_dtschema-v1-0-c447542fc362@gmail.com> To: Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jiaxun Yang , Vladimir Zapolskiy , Joel Stanley , Andrew Jeffery , Maxime Coquelin , Alexandre Torgue Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-stm32@st-md-mailman.stormreply.com, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=2126; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=UiEej7wlBRi/pLQoBrweryeFGNwfjKuxoShA6lE5rgI=; b=EpHnh+7FpXHoZNz9WVmqztAU819VB3IfAfjePtPHE33EfG9pOWc64lH5c4iJGsPPAkiXfkCFM 67eNi1/nowwB6ktD5i9GayFdEXGoC8VcQqXJvBH2aLTYW752caeJ2Ze X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240408_085322_390698_6AD3E493 X-CRM114-Status: GOOD ( 13.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The RTCs documented in this binding require a compatible, a reg and a single interrupt, which make them suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- .../devicetree/bindings/rtc/rtc-aspeed.txt | 22 ---------------------- .../devicetree/bindings/rtc/trivial-rtc.yaml | 6 ++++++ 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc-aspeed.txt b/Documentation/devicetree/bindings/rtc/rtc-aspeed.txt deleted file mode 100644 index 2e956b3dc276..000000000000 --- a/Documentation/devicetree/bindings/rtc/rtc-aspeed.txt +++ /dev/null @@ -1,22 +0,0 @@ -ASPEED BMC RTC -============== - -Required properties: - - compatible: should be one of the following - * aspeed,ast2400-rtc for the ast2400 - * aspeed,ast2500-rtc for the ast2500 - * aspeed,ast2600-rtc for the ast2600 - - - reg: physical base address of the controller and length of memory mapped - region - - - interrupts: The interrupt number - -Example: - - rtc@1e781000 { - compatible = "aspeed,ast2400-rtc"; - reg = <0x1e781000 0x18>; - interrupts = <22>; - status = "disabled"; - }; diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index 710b096fe6f7..0f773167d32a 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -24,6 +24,12 @@ properties: - abracon,abb5zes3 # AB-RTCMC-32.768kHz-EOZ9: Real Time Clock/Calendar Module with I2C Interface - abracon,abeoz9 + # ASPEED BMC ast2400 Real-time Clock + - aspeed,ast2400-rtc + # ASPEED BMC ast2500 Real-time Clock + - aspeed,ast2500-rtc + # ASPEED BMC ast2600 Real-time Clock + - aspeed,ast2600-rtc # I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output - dallas,ds1374 # Dallas DS1672 Real-time Clock -- 2.40.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel