Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1438602lqe; Mon, 8 Apr 2024 08:55:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxTKbpJKj4J1RyOiAUe8kTYYuqvTjcFsoKNkew6tT7AJVhB5U8t61p34MfbCKVT/ewxbY+NtJ1eQ6iq5miU5F4Bkcb47pmvn45w7d9iQ== X-Google-Smtp-Source: AGHT+IEpGonDWT+f5P24czsXoIZrLeilUfuz/z2jWNJQnkb6K7zWAOTB8daT3pqgsW7lr8TbBB4P X-Received: by 2002:a05:6358:830e:b0:183:5035:7b91 with SMTP id i14-20020a056358830e00b0018350357b91mr6912758rwk.25.1712591755801; Mon, 08 Apr 2024 08:55:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712591755; cv=pass; d=google.com; s=arc-20160816; b=gpVurB1aD/DrPfQg9/RabRAWT+4EN8IK4GXHgGuJ5IYdC7EOdZkpCB8RU+Ti0HTN5Z RCNN0FCkFYZOxgi6TtoQHNBcp+WmYq1EELRT7c2LmRpKYUc5FpPwdOpOBKZbe0O3VNki Q0Jl/lXheEcNpB0spLr2eTwgxqjTF+JFVVnr9UgYTedMgZxlHdSvhSW/zauk37L7GY0S CqpvAppAsalZNacPC7MsDRivgY6AocWoFWRflcUDGQlY/kFshsglrjG1TcJlfAJXBUpi r6hNhqTv4Wxb5rdslpBKtKVY2FugeRFnEIZZd+Y/IdDWKbD7lcqyUtNrUxnry9vl4cCS OPCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=4rI91zKEHaZphCjid+rr3ztF+AksAKCVPYsgJBuGJSE=; fh=D6joe6P/CodVsDIqAetPRe3V2C+Vybq4tWBu+6RSosI=; b=fcyaIdtmILZHmVNyqdt1OjZ2v1WyQjgsaG9jV4wDZ+NfrLc70KzdY1/Ipdc7ZgiNUX xDts1jDXerovO3cUhKPOZ7X9vb+fd3Wq/wIkFggU3UKUUdP/zykkAn6x5yO6MtFLhiMz W2/N7Gn+2yQpbi8xEfSFeFxvgnpifudPgNkbPv45fKBYuOScb+Qk796ub9PY7FPC1Vlf v40BkBivclBv1nOaUP7GCVpa33XhYPnIumPU8nFPt0xiMt99Y26lJ/JDArcZvufK0l5E U/e4dneM8C3TdOW9+JIcXi+kmlBQfQgo7mQemHIFMjob0uqEIRyzWdOyrx9bvhDFBreL WoIg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ANq1pbei; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-135635-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l197-20020a633ece000000b005d5434a5732si6480844pga.456.2024.04.08.08.55.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:55:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135635-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ANq1pbei; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-135635-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 839DA284C9F for ; Mon, 8 Apr 2024 15:54:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 88526143879; Mon, 8 Apr 2024 15:53:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ANq1pbei" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5EFF1428EF; Mon, 8 Apr 2024 15:53:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712591602; cv=none; b=OcSiS8FGGaImt4zd7869L/evuoWPt1iQQSILwcSaxl37xiZcSyydhfEWppvpPBSi1rQEXEFtfbjUJC1G24DahZa3xqUH6EKjxVZyAoatJmj6ntRbHFX5lbFxCbN2icg6/X4+Mus5Gr7eb/KX0p5eXuPeTznUlsj7Z6TYqFNaWAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712591602; c=relaxed/simple; bh=UiEej7wlBRi/pLQoBrweryeFGNwfjKuxoShA6lE5rgI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KntcXQx7PHCFZxTLhAj/f0nZ9H8HjeCyzhHG7f5q4LARS/5jT+TF+bPaxupXSpdv4NOGei4wmLwFH8BDry9/3DHq7YvERVZQ+LImJ0QgpofK6gRFCRvnFR+bTcYmCxht0YiTn+uNkqrCXBDAHj3qeNjyynEQkc0bQxNMnv0l2oY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ANq1pbei; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a44665605f3so526721166b.2; 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=vger.kernel.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=ANq1pbei/8XsreUqESimfE4VazWYLMx48EBVin4z7x/pzO+v4WC0D48UbWj2SWdBYA uCAoGyU1u+jKVlFL2mWRUzwQSQra18rvaYJveMa0BM1pdH3XcqUZmF3RzmbCmhx/CBzh 2xzN2R7V+nqqVN0OY5RBJRVeuq8H9SF47NMCmtCPjDUh4FrYsBc2+nsxDqsvDumQGdBg E1iSL3uczHfuSNvRk5KmfbFPLTA7IMGQbpw/Hf9pTikDVHf1xRrvUnyS7c/7ajxlTJGb nK+ZlPKTOro2bWqfUdX5k05wA/CqVPFY+ciOO3C/lHpAhzvNUsE+fPCAl+ky4aU/Bghi 2SgA== 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=u5H0hl53iJAZpRC0vSwo2IzLiypT5eekDbDtN4cMEEWSq1j8fh6XipwJTu/eHYdi+B NAPXYMQkHZYMpfMLewGpq2nsb1QEBsNk+S92cf9AdI/0PUXi1kCkEQYnXIMFccggWYrt WLUtXEp+SYBSXRW3u7UcBP5AepJ/CpPfevgWtdubUzQCtiRZ+gLoK/eT4ICUWMWQKIR4 Jxpyvcsei6+GLdEN+4w4wgowZ+AtRvcpMuK9U0cCr19wqb8plai2u7VEsWT2O7B98CGU ah2Rq+Cx0MRqavVkHAeY7FKut5Pn9HuTbP44pPw3h/KQC5id+h8R5zJFzQ+ny9XrfzpE 7a+w== X-Forwarded-Encrypted: i=1; AJvYcCWwK6vsVoUibDK5UsYlWsGCN78xbW9FE8vOpLpFF3H5f+nmwrqFsfC1fCIM6g4j64hSj417dvQNbbSVNnQ8n08DI551BDN67H65TVNo8xO0oSqsPsOM+vPfsJlsD/1/WuX6YSrBXG2UAA== X-Gm-Message-State: AOJu0YyVJbOBNqsg3DxWeoqkbzhYGZeAtcQzrfUzX4E4yWNyq4P8ghZ9 jlCwE9DfM3WdS1rlmGQZxGSPT4OjKD0vwYi4dIGhqTMmDA8PDNKR 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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= 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