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 EA1D3CD129A for ; Wed, 10 Apr 2024 15:56:19 +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=UwohnjwQOp5+Q3KM0dIlwzaWn89VxpO8JBgsy3uYOIU=; b=D6Okd0cWpyYcb/ 1CUFMCwq97xuniDwjAEZ+wtTTF1l6BsFVqrchJBGrDWh8xi1HBxRkhz9G3YsjQB0cAbQPfSeSH05i w6Oh6UZMI6c54mtk2f7SPh4ZYLqKTtpMT1+/s4OBolD0ljZ3LhltoxCguySSx+eidfwnRKIv+WlXT ZvdMOwKL6+p09lhkEzNuP5wR4EYeQj/Pi69ToqNmJlO/KXM8W2eCpWAoS1WzpSTBmRNXlNBAQejLl vw3+Iuv8svRKC7aCt+AOlHPh/jqUIPoc4rF+bmfc8fXunqE+jBVeWMzrYthlpaSI44wg6Zxu5E12q lS0husTmN+OaSMQLbsBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruaIt-00000007tHC-4C23; Wed, 10 Apr 2024 15:56:04 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruaIm-00000007t8O-1HCy for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2024 15:55:57 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-516d04fc04bso10647837e87.2 for ; Wed, 10 Apr 2024 08:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712764547; x=1713369347; 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=CjWL5urfCD2suWbxASMh0ZFN/BJUloa3sSOiLzgPS7w=; b=Z7NPi/iQVwPWRBMGOzSv4YvAOcwZZrzF+7k84MqLBTH8BDsk0NA7RYWfRgTAW0gm0y 9PpC9vRRw29gbgM/O8JK9AsB6D1EBSsU8zmEhBXIwPxtjHZwWbTT1NqHnqtk3Tqgi1dL CG8qQ4b+CrKLZdU3qxZRix9qszUND8hu1EHVant06EWwDIL21ceSwzFEEeWBPd3KuFWw uby/EvaB3nzsCGMlPKgobyklzfQYrW9gaEMt6S83VaDxunA+y1ZXW1CZeNuQlos4DcPn z16Qik+ZfLzUcB5G6CyfyIsqY6r7JBXxXKed3Fw6brtvryQkgGSx3QEsZUIO3S+5T1Xv fShA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712764547; x=1713369347; 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=CjWL5urfCD2suWbxASMh0ZFN/BJUloa3sSOiLzgPS7w=; b=JfCHGn2joEGUFWXIK9Wx1VG+41xo56Wd+KX6JOPMlX2K8xtHmjJnbwNFFuqr4nLsB3 2r+mTDxJbEmS/nmqsDq1zM0zjnBhpmqLZR8PtcYae4sSh9ie3/zxtrmWnU53dgCJBthW sO9ZF+DVFYM99ap2YTSpecQRNBXmJMif3nrRTld2kE6yBDzCJ3tWnAWoIhnflWHlIWiO 23Eg67YjpAPQ7EgAUpxkaS5YmScMUFRYPn/E39Z29i99lE6QEnsKGNuhnaPS5/Kd1+JK IN0QCtF5gbCbcxzuwmz5iQ4szSP67p6Js1tBNEn7FFHDk56B9sjJAcCnO/V6kLK7INoG RW8Q== X-Forwarded-Encrypted: i=1; AJvYcCV0yFHoR+UTuhv58tuMb26jy9vu85VBt42jTuhmyzLlQbbcqmMDMbHmtn9+S5VPcIjiI86dbKWTQjnbhdeeUEG6wW3XDnqIxxIzXTLPOCeUT6SsvQk= X-Gm-Message-State: AOJu0YzqyyPzOBS/sjJwNGcdGccLC3CLCmlpOwHoUWYLcOQtjA4sHLLL 0klsgEqKnzW0ElVydBKXjkYBb0i34oXxaYSFRb6mYfxdrVgOg28O X-Google-Smtp-Source: AGHT+IEhZ1EhOuatHHJC6dOkQluG+xXK5rizjLmHKYICtQdqLLMxOuH3rslLtKvHjApmXWcEYzpUkg== X-Received: by 2002:a05:6512:3134:b0:516:d1f0:fbf7 with SMTP id p20-20020a056512313400b00516d1f0fbf7mr2608557lfd.42.1712764546832; Wed, 10 Apr 2024 08:55:46 -0700 (PDT) Received: from [127.0.1.1] (91-118-163-37.static.upcbusiness.at. [91.118.163.37]) by smtp.gmail.com with ESMTPSA id qw6-20020a1709066a0600b00a52172808c9sm279884ejc.56.2024.04.10.08.55.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 08:55:46 -0700 (PDT) From: Javier Carrasco Date: Wed, 10 Apr 2024 17:55:33 +0200 Subject: [PATCH v2 1/4] dt-bindings: rtc: convert trivial devices into dtschema MIME-Version: 1.0 Message-Id: <20240410-rtc_dtschema-v2-1-d32a11ab0745@gmail.com> References: <20240410-rtc_dtschema-v2-0-d32a11ab0745@gmail.com> In-Reply-To: <20240410-rtc_dtschema-v2-0-d32a11ab0745@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 , Krzysztof Kozlowski X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712764543; l=7413; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=iUosu5YsymPpKqNWdU+OWpw6XNZgSqKxxGsYBKQMjJI=; b=owDeqWcOexlJxUWmQcrdxMqzT1gWgViU73lAqA5P6dc9IURx/jDGsvUcssKKup3YCc6xdTLiI NASAfe9dsp1CPuYc/hs4k29Vy67X64HKj/oHJXdRY8l2lJn5PuvMHQu 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-20240410_085556_387325_DEFD84C2 X-CRM114-Status: GOOD ( 17.74 ) 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 These RTCs meet the requirements for a direct conversion into trivial-rtc: - orion-rtc - google,goldfish-rtc - maxim,ds1742 - rtc-aspped - spear-rtc - via,vt8500-rtc Reviewed-by: Krzysztof Kozlowski Reviewed-by: Andrew Jeffery Signed-off-by: Javier Carrasco --- .../bindings/rtc/google,goldfish-rtc.txt | 17 ----------------- .../devicetree/bindings/rtc/maxim,ds1742.txt | 12 ------------ .../devicetree/bindings/rtc/orion-rtc.txt | 18 ------------------ .../devicetree/bindings/rtc/rtc-aspeed.txt | 22 ---------------------- .../devicetree/bindings/rtc/spear-rtc.txt | 15 --------------- .../devicetree/bindings/rtc/trivial-rtc.yaml | 16 ++++++++++++++++ .../devicetree/bindings/rtc/via,vt8500-rtc.txt | 15 --------------- MAINTAINERS | 1 - 8 files changed, 16 insertions(+), 100 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt b/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt deleted file mode 100644 index 634312dd95ca..000000000000 --- a/Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt +++ /dev/null @@ -1,17 +0,0 @@ -Android Goldfish RTC - -Android Goldfish RTC device used by Android emulator. - -Required properties: - -- compatible : should contain "google,goldfish-rtc" -- reg : -- interrupts : - -Example: - - goldfish_timer@9020000 { - compatible = "google,goldfish-rtc"; - reg = <0x9020000 0x1000>; - interrupts = <0x3>; - }; diff --git a/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt b/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt deleted file mode 100644 index d0f937c355b5..000000000000 --- a/Documentation/devicetree/bindings/rtc/maxim,ds1742.txt +++ /dev/null @@ -1,12 +0,0 @@ -* Maxim (Dallas) DS1742/DS1743 Real Time Clock - -Required properties: -- compatible: Should contain "maxim,ds1742". -- reg: Physical base address of the RTC and length of memory - mapped region. - -Example: - rtc: rtc@10000000 { - compatible = "maxim,ds1742"; - reg = <0x10000000 0x800>; - }; diff --git a/Documentation/devicetree/bindings/rtc/orion-rtc.txt b/Documentation/devicetree/bindings/rtc/orion-rtc.txt deleted file mode 100644 index 3bf63ffa5160..000000000000 --- a/Documentation/devicetree/bindings/rtc/orion-rtc.txt +++ /dev/null @@ -1,18 +0,0 @@ -* Mvebu Real Time Clock - -RTC controller for the Kirkwood, the Dove, the Armada 370 and the -Armada XP SoCs - -Required properties: -- compatible : Should be "marvell,orion-rtc" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: IRQ line for the RTC. - -Example: - -rtc@10300 { - compatible = "marvell,orion-rtc"; - reg = <0xd0010300 0x20>; - interrupts = <50>; -}; 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/spear-rtc.txt b/Documentation/devicetree/bindings/rtc/spear-rtc.txt deleted file mode 100644 index fecf8e4ad4b4..000000000000 --- a/Documentation/devicetree/bindings/rtc/spear-rtc.txt +++ /dev/null @@ -1,15 +0,0 @@ -* SPEAr RTC - -Required properties: -- compatible : "st,spear600-rtc" -- reg : Address range of the rtc registers -- interrupt: Should contain the rtc interrupt number - -Example: - - rtc@fc000000 { - compatible = "st,spear600-rtc"; - reg = <0xfc000000 0x1000>; - interrupt-parent = <&vic1>; - interrupts = <12>; - }; diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index c9e3c5262c21..b590bf35d440 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 @@ -41,10 +47,16 @@ properties: - epson,rx8571 # I2C-BUS INTERFACE REAL TIME CLOCK MODULE - epson,rx8581 + # Android Goldfish Real-time Clock + - google,goldfish-rtc # Intersil ISL1208 Low Power RTC with Battery Backed SRAM - isil,isl1208 # Intersil ISL1218 Low Power RTC with Battery Backed SRAM - isil,isl1218 + # Mvebu Real-time Clock + - marvell,orion-rtc + # Maxim DS1742/DS1743 Real-time Clock + - maxim,ds1742 # SPI-BUS INTERFACE REAL TIME CLOCK MODULE - maxim,mcp795 # Real Time Clock Module with I2C-Bus @@ -67,6 +79,10 @@ properties: - ricoh,rv5c387a # 2-wire CMOS real-time clock - sii,s35390a + # ST SPEAr Real-time Clock + - st,spear600-rtc + # VIA/Wondermedia VT8500 Real-time Clock + - via,vt8500-rtc # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC - whwave,sd3078 # Xircom X1205 I2C RTC diff --git a/Documentation/devicetree/bindings/rtc/via,vt8500-rtc.txt b/Documentation/devicetree/bindings/rtc/via,vt8500-rtc.txt deleted file mode 100644 index 3c0484c49582..000000000000 --- a/Documentation/devicetree/bindings/rtc/via,vt8500-rtc.txt +++ /dev/null @@ -1,15 +0,0 @@ -VIA/Wondermedia VT8500 Realtime Clock Controller ------------------------------------------------------ - -Required properties: -- compatible : "via,vt8500-rtc" -- reg : Should contain 1 register ranges(address and length) -- interrupts : alarm interrupt - -Example: - - rtc@d8100000 { - compatible = "via,vt8500-rtc"; - reg = <0xd8100000 0x10000>; - interrupts = <48>; - }; diff --git a/MAINTAINERS b/MAINTAINERS index aea47e04c3a5..f24469714f1e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1442,7 +1442,6 @@ F: drivers/irqchip/irq-goldfish-pic.c ANDROID GOLDFISH RTC DRIVER M: Jiaxun Yang S: Supported -F: Documentation/devicetree/bindings/rtc/google,goldfish-rtc.txt F: drivers/rtc/rtc-goldfish.c AOA (Apple Onboard Audio) ALSA DRIVER -- 2.40.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel