From patchwork Mon Apr 8 15:53:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974038 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=SjVz6FVz; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJD0m1Lz1yXf for ; Tue, 20 Aug 2024 09:56:44 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHp62tKz3fq6 for ; Tue, 20 Aug 2024 09:56:22 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=SjVz6FVz; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62c; helo=mail-ej1-x62c.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtsq1V3Gz3dBn for ; Tue, 9 Apr 2024 01:53:17 +1000 (AEST) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a44ad785a44so546173366b.3 for ; Mon, 08 Apr 2024 08:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591591; x=1713196391; darn=lists.ozlabs.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=qMMzpPgaja57dJ/QOl1X3xfBEKxBkGZzp3htau/BjRY=; b=SjVz6FVzS/ENTR53SDnatxPqLZM/hWhxJkSklogQAAKzhA8bePK6bL2gDL2qUnPNvg 5UeEMDOTUcJhVdJwsLB2hA9dRmFPEvOH5bo9Ip3Vxu2quedLledsu8BNezoqA1Pq7OmG pCNhxzkV7czHUJmbJtxX4HE9dtpiObjt9UfDN1UkatFnkvk1SRmj6fB9RCw9lHLO0FAc 27zr1kZkNmScytnu0JHh3sTwqXpi3Zi54LEwf9LbhiR7ZOHV39Iu74rPMfAD8BNiCVOy Ia/zqH2EgIf/tyi/5kLr8utY96gOvubWhX7N6DqcmyakjYcGdx4V5SSwuyQi0WFbSbAl U15g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591591; x=1713196391; 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=qMMzpPgaja57dJ/QOl1X3xfBEKxBkGZzp3htau/BjRY=; b=uqq9tk4Px0FBvhM04w3RfsjGYTbn/URIt0o+8p3tGE7eFnKZz2SNk6xI9o4EzLzlBm zeHyJomiI8dgLYXRUFpCvmuAW6bll3vSYGf6yEQ8dyizVmYFSRrdla3GiCChV6DCMbuB F2OZwTgrJ90PkBJtk4PnS4J4GLtpA3HFt0cIupeSq9yWxO+b4dK7ZBs0yi4FhmGXywxQ Jvi+H3/VPLLCt7bcRnnkclzV5iw7cUhwgYMRgTb7zWS+F5JCPfMst0ekacVa/1Md9EPq eR5UHgSTBX8gKYKbD7hz+7wsO+JZulnECpZlAYKdwl4nFFjXqDqSvOCsRNtE14bwEOFd nD+Q== X-Forwarded-Encrypted: i=1; AJvYcCVY/rJs4xqGFzqbZDVwzb2r6CZ2pUfx//Upz0/fDevuom1j1OxGHPJzL0axX8cFL0n1CDy9rx29V6+bZFFxL/itPDyEcgmiOy5CjLFwog== X-Gm-Message-State: AOJu0Yyv2Q5Po9HsowEgTqb0povuOhckkPnAE9w5V/UUmM6t1lVzCYRV EPdU6kTxyQJv2tCn6M4kEPZmPpd9nbp56Mo0rVwPTuk6OrzPSNXT X-Google-Smtp-Source: AGHT+IFLOo9Lg9B3qIOklTKOZd0LvNU1njK/wu05Sxkr5yVm3kefeiWUgywKL7V+AzBxsRaFEqHPcg== X-Received: by 2002:a17:906:b19:b0:a51:d19c:aba8 with SMTP id u25-20020a1709060b1900b00a51d19caba8mr2466641ejg.20.1712591591195; Mon, 08 Apr 2024 08:53:11 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:10 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:01 +0200 Subject: [PATCH 1/9] dt-bindings: rtc: orion-rtc: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-1-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=1761; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=hBd9i56nvCzyVs8yanPT9S2Cyv5djpJ1RLlYTOAQDRk=; b=7fLnaSy2d1QTC1X9rDdRmPK4NxyIq/8k0OfRmCyhOdL4+L4l6InroboEy3X1aqCBh1Yh2+xlS q5z7AlDDx3nB+S8LjphJkGb7U1aUoHLT6vOelE+aTDV7mVFf8o3lo5A X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" This RTC requires a compatible, a reg and a single interrupt, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/rtc/orion-rtc.txt | 18 ------------------ Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 18 deletions(-) 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/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index c9e3c5262c21..5e63c8f7f618 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -45,6 +45,8 @@ properties: - isil,isl1208 # Intersil ISL1218 Low Power RTC with Battery Backed SRAM - isil,isl1218 + # Mvebu Real-time Clock + - marvell,orion-rtc # SPI-BUS INTERFACE REAL TIME CLOCK MODULE - maxim,mcp795 # Real Time Clock Module with I2C-Bus From patchwork Mon Apr 8 15:53:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974036 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=h9YbnyeN; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJB6Cryz1yXf for ; Tue, 20 Aug 2024 09:56:42 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHp2vYXz3cMG for ; Tue, 20 Aug 2024 09:56:22 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=h9YbnyeN; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62c; helo=mail-ej1-x62c.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtsq1hGyz3dLQ for ; Tue, 9 Apr 2024 01:53:17 +1000 (AEST) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a51d83fafa8so132011566b.0 for ; Mon, 08 Apr 2024 08:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591593; x=1713196393; darn=lists.ozlabs.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=FaDQO9exJCzRg/8lU1QpCZomsB1mdrpwg8BXuiBSkkw=; b=h9YbnyeNfI1Dl9uuoVInE4fryphHWjOB9pbkglNq9vpI7isckaiAWz1ua6S7G+6fOx JjAg6w8cBG7MIPQq+edw8s/pjPG+i/6358I/QaFwEB6lDWURExQYCTz+L4QnWlQx/9Io mvd9VgbBtAXfSTy+HhWhialcK2PjKAL94nDoFyoJSXH1OezwLMzdbITEFLIrgcWFJSsa Lc+aoSNmZd1VafG5tA+f31HXjP7qrj6a1rYbfhBO67EBGTGQQfZby9Ef1ZBWmpxAljC9 pO19Y8Gv7vrranx1ZjFbU6LNtL7jwG3+a70fue8i59QMRCqfOhe0P216g4BkraSyPiU4 zA7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591593; x=1713196393; 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=FaDQO9exJCzRg/8lU1QpCZomsB1mdrpwg8BXuiBSkkw=; b=fupOwPNg7oSSzCkL846KFiQOiWr5w9rCwf/rwK8qez8qQ1kUQ1Nf3rACuBmVMnfNXj IVQ+8dBL7kLdu8vc2TWtqqg8zKq1wS1FY+eSrvnmo4BZv/MPTX2jl25Iq0gVq7L4j5x5 /bIEJl+BuA2krlybNKqpEU9m+tovPXsFZ4noBl1Dde3MRTn7dFBtug1tTlkoBAlSLRH/ Jdrkth5D0VY8nosyCCa1L1rCl97TNLN1FI7d2rmQhNu0vmxSnjrgvH6CLgoUVDMVSawP MqKSMg/YgHl5zhwsvfazUQKM0QaHTUXcLvFqoG84CObkq0dHA9D8fy4ewcoL3IRW+sBz YPvA== X-Forwarded-Encrypted: i=1; AJvYcCX3h2/jvZb4dDXbxZQ6j1MRdDBLBIgMWzZ5wBLHGECBTIAOhdPPlWZglA1Na6yLJmVmftXWVSHhzW90z3x8/OuZwTMHRIaXtOP3eQoqrw== X-Gm-Message-State: AOJu0YxGRL1HWADrnMZBtrlo/rsEd4WIrTXq6s3SYaF1IIn7SQDdOAJN +3L8gtIavhYad54Xu/pVWX7khTmOjV+/xqy4A5uVAm2MuXNwrzDC X-Google-Smtp-Source: AGHT+IE/brPz33bAyXkLLx9/3k7uLX80nlW2dTvsRmtq/VzJ5UavkRJXVX2o3jP/+Rc4Wx3RPpCuEQ== X-Received: by 2002:a17:907:e86:b0:a51:d204:d6bf with SMTP id ho6-20020a1709070e8600b00a51d204d6bfmr3422101ejc.10.1712591593166; Mon, 08 Apr 2024 08:53:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:12 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:02 +0200 Subject: [PATCH 2/9] dt-bindings: rtc: google,goldfish-rtc: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-2-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=1751; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=yqX/w81Ycb9hVyt/9HQKZXov7UsFMLnZ7nkrSKxqels=; b=nQu1d8ztJV2beU36YHMkXGrFhsTXDnsy8WQADo7Rpyj2BA9JfhN+W+nzzj5SHdSULv8HsoK8G JkFOsCM6XmSCJFwYt5mlM9kQzi2tSTNFnTOAjB50Z0RwcSmfJ/9+RHz X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" This RTC requires a compatible, a reg and a single interrupt, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- .../devicetree/bindings/rtc/google,goldfish-rtc.txt | 17 ----------------- Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 17 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/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index 5e63c8f7f618..b889b9317a41 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -41,6 +41,8 @@ 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 From patchwork Mon Apr 8 15:53:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974035 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=L2deLbk2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJB0X98z1yXf for ; Tue, 20 Aug 2024 09:56:42 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHp1KKgz3flb for ; Tue, 20 Aug 2024 09:56:22 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=L2deLbk2; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::132; helo=mail-lf1-x132.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtsq4KbPz3dSL for ; Tue, 9 Apr 2024 01:53:19 +1000 (AEST) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-516d1ecaf25so4632691e87.2 for ; Mon, 08 Apr 2024 08:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591595; x=1713196395; darn=lists.ozlabs.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=OZNPSolpsyW2BBt4Cv9G0c69Pzyf7OGHTEy9xs9+O7A=; b=L2deLbk2a1YeMXSuU/3SFun0mm1pRDK9I/wlhufhHw1RDV5YZ5uyst80DYT4FoMerp RZ5kQzNapJTBRol1IoKAz2dgKMWGGhS5XSUgYlAKIS4N2P4D+cUy9GG+ospiHlhVH3Ta bM99SWcIb6sFbawz0ZvaBldrZe+l0Z7sHw8YLil37YNBcjA81BBhNfrkkBbMWtg5F6bn WGXBdsyoJmnDhOaH0UqVPlqy3c5z/y5jI0fu3qPDnPLF9erG5j//3Ok25raZNmXml4of VFlB2y/fVsb/c007TCsptS6rC74//yegGdgaHBM9YkjtYp3RSJybIeS86CZeQRxPLdxN 6KcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591595; x=1713196395; 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=OZNPSolpsyW2BBt4Cv9G0c69Pzyf7OGHTEy9xs9+O7A=; b=RIgdtWVHhEUDGI+hpMGDzrEwTnGkIhnNngpG+boF+h3lVbX69qEEcKgoW6SBShbF5L FeKRe8b3rDxIlx2gLrjF1PqlkxZksruBv3ZSGylFG1DSaItNcdnhVNNIdtYIUB3xo9rv ZkPLx0YbI2XLtrE3fntlr28N1qjY0I64lEWz5LTS4Mdc/SZjdbnoQnGeWyyJFBSiiFjP AgX4vNOvKHPvhNOBpdIdNOizNwD8bi8bWBNs13129TB55XghG7XDm64zvTmJ5c0tbLH8 GPmp8AW5Vz90O/JYEf8M5L6XX07/xwGHJwrFFqiy/6FEv/zF9335jYkUfXPUKRU13ezp jETw== X-Forwarded-Encrypted: i=1; AJvYcCVbsWexPEfXFNgt/dOH3NrNY0VInHWtyADwV0vYAsNw7p6DdarnDXahQBP3dGS6Qo3RBZRV8e8zy6wC3LVZwoSUVmD2FLCy3/5ipOjaIg== X-Gm-Message-State: AOJu0YwH1kp1rjk5eEUsUyECwcfTudsHjk8ncNd4ze8/3T6IektC5zRG cvohCN+IXwWQIgxgsubbVzdFNLqpYdcceKF+EhVQKjV08JApZ3r+ X-Google-Smtp-Source: AGHT+IHHjnlpbYGoVoRBTjaLp6Pq3A5BQFRFuLX80oSlH+nvQTdtLncSAg4Fv6oSY2gm4yEe75RZ0g== X-Received: by 2002:ac2:5f1c:0:b0:516:ce06:ac8e with SMTP id 28-20020ac25f1c000000b00516ce06ac8emr5820717lfq.51.1712591595088; Mon, 08 Apr 2024 08:53:15 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:14 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:03 +0200 Subject: [PATCH 3/9] dt-bindings: rtc: lpc32xx-rtc: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-3-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=1653; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=oXF0IOpDbbU06OjI6OgtSVdRvz0EfEWAr+7KUKC2fPo=; b=cXwmCtklzwmwm52UDPVuk6WWDHgL1i0zzCtfIEhsTmu1EI8lNZwtM2+GXUd9vnJCrPPqUZ8mZ dM7tV4/p9z9AnwXdlchsL+guM1nOVq79TSHnwxlzcL0CuAAe0Fn8NP7 X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" This RTC requires a compatible, a reg and a single interrupt, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/rtc/lpc32xx-rtc.txt | 15 --------------- Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/lpc32xx-rtc.txt b/Documentation/devicetree/bindings/rtc/lpc32xx-rtc.txt deleted file mode 100644 index a87a1e9bc060..000000000000 --- a/Documentation/devicetree/bindings/rtc/lpc32xx-rtc.txt +++ /dev/null @@ -1,15 +0,0 @@ -* NXP LPC32xx SoC Real Time Clock controller - -Required properties: -- compatible: must be "nxp,lpc3220-rtc" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: The RTC interrupt - -Example: - - rtc@40024000 { - compatible = "nxp,lpc3220-rtc"; - reg = <0x40024000 0x1000>; - interrupts = <52 0>; - }; diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index b889b9317a41..d6ce7ac29033 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -55,6 +55,8 @@ properties: - microcrystal,rv3029 # Real Time Clock - microcrystal,rv8523 + # NXP LPC32xx SoC Real-time Clock + - nxp,lpc3220-rtc # Real-time Clock Module - pericom,pt7c4338 # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC From patchwork Mon Apr 8 15:53:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974039 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=DhZ6ealC; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJD5PGYz1yXf for ; Tue, 20 Aug 2024 09:56:44 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHq0QvPz3fqp for ; Tue, 20 Aug 2024 09:56:23 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=DhZ6ealC; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::633; helo=mail-ej1-x633.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtsr66bFz3dBn for ; Tue, 9 Apr 2024 01:53:20 +1000 (AEST) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a47385a4379so1039944066b.0 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=1712591597; x=1713196397; darn=lists.ozlabs.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=pSuQkBcadOBIFzAv5VWT53mPgt24650g8Yc46Jnu+po=; b=DhZ6ealCVz4t/CyeIcpSzUSiEVUIEr4VI+cCYtm1OQgyZ3XJ/OBhiM/qzSNXt8UU1S f/iK6xBa6zSf7oljp0cOD9ziufG6PYzDIVrGD+KXNMmvSQw6HVH3KUqi9t6Ch/aAJ29g SUBkg2VqmL7EuUQWuR6COxnQfNnq0GwOkhwBnZY75Mv9uWgDfekLa8pRJI5lViT7xxEu LGg7CywT0Q6kaK4WpNX70ikAYq1LXcHKR9bYELcX/8p57qYznRY1CgICm7730jYymUXL Y32kaWvMLGXDgwXjLle9Uwe8w2nDUmF2Shj1/dYOkSaV7Wlr4SDVXaH/QRggTTbVgIWc xQjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591597; x=1713196397; 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=pSuQkBcadOBIFzAv5VWT53mPgt24650g8Yc46Jnu+po=; b=ge3SyKHrXq30v1YI+KE9qObPtmoPK9lsHjeepJq8EeazTyqcZSNtYuo2s7PT1QI//4 FDc6iSqSnlapHShlWwFWr1u6xPuxrLkE8BKXVJwTYbNznW2EBsza++cAi9gsINFE6tYg otWVVA8dDKa5Pp40CmObQNtDoN2Fewr5ZEI6pfw1MJK0pHUv2JDwkp2GBL4MVV2xx+jv n6B6PGseiv0ulj8rn2XdfAmfVqtp8TLGzF9vTFb/H0Q8magAxet/Oiy4M2cIpwZQPebM rMEQnk8UzOYHJOZmvS1sqU/SARF6kfodpCxMZnNHSZqOwDvM9uCBGjvkLz8lH2nYMSM8 RG7g== X-Forwarded-Encrypted: i=1; AJvYcCX5NjdGx1MBj7Suw2gXhOpF6M5klISgZHKdG2xG7wG8cg6egvGe5yFL4YN6ElyLSzEfx+846RFBAhX10UxCY2dWBcjvhuXcNLJFn6ayWw== X-Gm-Message-State: AOJu0YzX04r0ScfoCHbeoh+Am3V4xu3dzz/JHK4cdKQ47Hd9Tc1qGsOS XCiqXPMOlykBmbji99FDivuA641+btt2GI1SDb7PrCwOwt11faYk X-Google-Smtp-Source: AGHT+IG+xooPJVfqxdhFca/m9VCSLYMJBFoaSR9jS3Fdk4ttcukr9i773eeoHIdSGYXmNnF/nymuPQ== X-Received: by 2002:a17:906:fd8d:b0:a51:e188:bced with SMTP id xa13-20020a170906fd8d00b00a51e188bcedmr48379ejb.37.1712591596913; Mon, 08 Apr 2024 08:53:16 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:16 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:04 +0200 Subject: [PATCH 4/9] dt-bindings: rtc: maxim,ds1742: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-4-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=1594; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=zOZomgntzrvpzwsWCTBIKhRP00SpDrEpbkluseuFse8=; b=VG/4RZspITvXhEWAGam4EeebdbdnRgZkL5lRkdQjPLh+WlxRCuzFnJI7lPUjmco9VoyuOiVXq akjKl/hvaUaBliOoiWRR9Z/+c9DEfQXxUVCqUVbp5NFNzefeTmLd4wH X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" This RTC only requires the compatible a reg and properties, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/rtc/maxim,ds1742.txt | 12 ------------ Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 12 deletions(-) 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/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index d6ce7ac29033..710b096fe6f7 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -49,6 +49,8 @@ properties: - 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 From patchwork Mon Apr 8 15:53:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=J9Wp/8z1; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJF2bgyz1yXf for ; Tue, 20 Aug 2024 09:56:45 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHq26N8z3frT for ; Tue, 20 Aug 2024 09:56:23 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=J9Wp/8z1; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62b; helo=mail-ej1-x62b.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtst5yKdz3dBn for ; Tue, 9 Apr 2024 01:53:22 +1000 (AEST) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a51e452a1ceso44316666b.0 for ; Mon, 08 Apr 2024 08:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591599; x=1713196399; darn=lists.ozlabs.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=J9Wp/8z1EpQq9ucP2ECK+g8c+ylJGZd5jgvfIJVYct2wFlVv9DYGA526hkWr5VKtQO w8QbY9H8zfQxpwoESynF58nnq1ZFXfeNWunXTEHxf4WmoOG8ez2v96Sria64aPwd0ZPV vZ7/PoMeUyn6DbxtNJI69mdJ4A/2GWrhTiEeazf6jFqJ5fZ+y089j6ohzAddaYZ2eoIX BctoUf521RIspSMvq+H9ZbzSZ2ib+KzuDrPD4Eh8CIbqS0JXI4/BqbS4XfbQ3ZesfwsE 52RAFBHk/N4chbvRiKCMrNOeYFiadSUpi8LfeSUjYxraDaffH2EEMaOtMNYHZpELx+ZR Rvog== 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=eNflPo8wSQPrE17M8uTqPD9c8sHbdfsNC/ZHFaXfgKKieHcX2rw/HPJCPeLExKRrYD bmPDDrflS1h6yVzAmCUzsgn8EUS63EQS2a5eEeS8/LtQr74GxC5pOh77XDwiBDRAdlzK 5lpPUs/UOi+0Cc/aXS41VR874uQOvXnFTgP9brbtCJoDtiwkn2mzDNfno5WD3DacEo6f iIfL5wPIuKwOeqp1orjB2BR2WXJW512lvUd2GRl7tEklo9A3ipadZ9BNwBDOz0BpU2Hf h2t7amRDJxbytvOzbnWAnIxc9u0dMtz2H1pR7UBljIY+rhh0ee4qQK61sja4d+uU7TvI +zYw== X-Forwarded-Encrypted: i=1; AJvYcCXUO/0iNZM1Q2meam9EAkGOkUkrRFMOYMrdAB66wY9/+YhGD5QmjQRo7WGufcmyweXabBkVHO75S5Igjha++lbsT7+WIbMJMrgosz8N3Q== X-Gm-Message-State: AOJu0Yzx2gB5bPkrfwio7Wf9IRehelBtn8sNjj5qc76HMpoxfArf/ZnE WhRZwViFHSIq4YAJBUBMQoiJOBw3BnV7h77Yuhnhxkc1W9gdKvCi 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 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-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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 From patchwork Mon Apr 8 15:53:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974041 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=fuUz0+Hw; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJG0QSpz1yXf for ; Tue, 20 Aug 2024 09:56:46 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHq3Vhdz3fsD for ; Tue, 20 Aug 2024 09:56:23 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=fuUz0+Hw; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::535; helo=mail-ed1-x535.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtsx0Rlqz3bvd for ; Tue, 9 Apr 2024 01:53:25 +1000 (AEST) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-56e67286bf5so1265239a12.0 for ; Mon, 08 Apr 2024 08:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591601; x=1713196401; darn=lists.ozlabs.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=vDBj+TCOT5An3iT1ZW/BVrmcXlQmpT8xuPifrvWWcJQ=; b=fuUz0+Hw+YfHNmzZcFRMmN9Lbc/XjqQgfNlXOCiuBnh1v6PB5+CHP2V6IJ7gLdhtZK PLXZ5na20Q2xOL7RCGxKTNueGJCBTk+DdpnwiUVVRkHZHHKhVUG5dYkvXntIYg/iQxVp etjHuBfebP0F7D6kgfLVUvJt/QnoKputV0fmjMjjZEngv6jtK+58tlsz/qZNU4WSEd1k gmhbySKdpms1Fz/r8A1V53Yl4U/CNPqbIwQ/OMQ5HGCl9pWpVRkTQEs+86899TOHZUi6 LmsDJv/9JwnaSD6BbjEb6waWvRE25zhDulzsx6Nto1YJF4wVmttT0UYQvKFj1kg9l6Pq YpMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591601; x=1713196401; 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=vDBj+TCOT5An3iT1ZW/BVrmcXlQmpT8xuPifrvWWcJQ=; b=jMX/Mkiwg6w5929QkZLI/X16yh7iTcOiKypYXik0sfoq5NTM3T7SS4F1OVIgJgOOHa Yr7jLizs1+HqEZxQDCXzdXFjrn0pNz3nYsb/DxtbCMQutAujdPBO+uQPFr3DLrPm3H87 T3kUYLNaJ2lVg1KQIWzTs5cWtNQsktSjVZnc+/Hrd0XdG18V9lp6dvZmMZQ8mBWA48nS Okb4B4PWFTge/SeGAYXDOLCAxUQJfI6Z8YNpLz6LTnKiPnc98wM4RvaXpgr+mYBdMZbJ 7kPbr0jneglE7o+yT7csBaFBcqnu9WRSY4/IZK+QNYJSpvt3wm7/jzHrxqtQ6vTJNIhC R9yw== X-Forwarded-Encrypted: i=1; AJvYcCX9NHKIcOX8zJekKInCXpxvysWPj/00X6ZYAsQzC3zPlMl9cAmWIYcTpcFGiK2W8YKtNTiKS44bd2EmSe7mhDG1c7M59gEJvE31pMPoRQ== X-Gm-Message-State: AOJu0Yz1wps+cL+WoO/b0fJGK40ElkCS0paR74Lp2hOQnMRfcKOU8Vdb MZ9LnLQhOvK7buTFkfnE9h3tOiqGGYcb1sZzjUd8qRwwvlShMaG4 X-Google-Smtp-Source: AGHT+IHo3PjOjthzlX7he+eTIQsbLTIBOyRGKiO637648HaP0Ncp071D/7W6Vx2fN1EcekWna6nuhQ== X-Received: by 2002:a17:906:af16:b0:a51:c1f7:93 with SMTP id lx22-20020a170906af1600b00a51c1f70093mr75351ejb.13.1712591601329; Mon, 08 Apr 2024 08:53:21 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:20 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:06 +0200 Subject: [PATCH 6/9] dt-bindings: rtc: pxa-rtc: convert to dtschema MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-6-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=2057; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=XuizmZ/AsI4sUrNbkhEaUlA+sS0KeXhc44fqmRoI0ks=; b=TEcS/yNABbU+N66YYIMs81/pFUYAYXLO65ZbwiLZUk8cK0LytDNhrbnd05Bbryb15/GpV6iW2 jf1CGGu8AmBA3oq3KEyQFN5EDyUUA0/E99wDgmrlSsZqOp61i9vtUnd X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Convert existing binding to dtschema to support validation. The missing 'reg' and 'interrupts' properties have been added, taking the 2 supported interrupts into account to fix the example. Signed-off-by: Javier Carrasco --- .../devicetree/bindings/rtc/marvell,pxa-rtc.yaml | 40 ++++++++++++++++++++++ Documentation/devicetree/bindings/rtc/pxa-rtc.txt | 14 -------- 2 files changed, 40 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/marvell,pxa-rtc.yaml b/Documentation/devicetree/bindings/rtc/marvell,pxa-rtc.yaml new file mode 100644 index 000000000000..43d68681a1bf --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/marvell,pxa-rtc.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/marvell,pxa-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PXA Real Time Clock + +maintainers: + - Javier Carrasco + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: marvell,pxa-rtc + + reg: + maxItems: 1 + + interrupts: + items: + - description: 1 Hz + - description: Alarm + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + rtc@40900000 { + compatible = "marvell,pxa-rtc"; + reg = <0x40900000 0x3c>; + interrupts = <30>, <31>; + }; diff --git a/Documentation/devicetree/bindings/rtc/pxa-rtc.txt b/Documentation/devicetree/bindings/rtc/pxa-rtc.txt deleted file mode 100644 index 8c6672a1b7d7..000000000000 --- a/Documentation/devicetree/bindings/rtc/pxa-rtc.txt +++ /dev/null @@ -1,14 +0,0 @@ -* PXA RTC - -PXA specific RTC driver. - -Required properties: -- compatible : Should be "marvell,pxa-rtc" - -Examples: - -rtc@40900000 { - compatible = "marvell,pxa-rtc"; - reg = <0x40900000 0x3c>; - interrupts = <30 31>; -}; From patchwork Mon Apr 8 15:53:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974042 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=ixfKs2gN; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJG4C6Dz1yXf for ; Tue, 20 Aug 2024 09:56:46 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHq5DC6z3fst for ; Tue, 20 Aug 2024 09:56:23 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=ixfKs2gN; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62b; helo=mail-ej1-x62b.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtsy3ZTgz3dTG for ; Tue, 9 Apr 2024 01:53:26 +1000 (AEST) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-a51ddc783e3so120949066b.0 for ; Mon, 08 Apr 2024 08:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591603; x=1713196403; darn=lists.ozlabs.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=hWg1ENlXHc+/PDZHBiKvXmfM9dCYHYF/K16ZOemXbZc=; b=ixfKs2gN07FMQEqUBatlJVNOoHGAt0uSJx0jRa6jqQdd/bjoDHVF2oix6bmPYnsHdW k358FVp8GiOCDBmzMeF5SNe6IR9wMjgcCkWL+OXi9IpSIbsbB5vwlqTHuxffPHSrHK9p d9tMwPGQMZeR3l5AqdbKAjZZYCu0oaSstbFY+OnABqVdBUxPJ23QuoxgVZK9RTfiCntu QnU/do5DYjPlFD1dLMlSWBwMTJRedZihB/Xyq4VkUJJ9DY+TS1fg5y2nR0gyT/bnh8Mo VYGMNSrbVu3eL/pAgNpYt52jlGcWyUUnhudYqtoPi8h5idNxj3ZPJDDHJ/ECBiFu7WPc DJ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591603; x=1713196403; 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=hWg1ENlXHc+/PDZHBiKvXmfM9dCYHYF/K16ZOemXbZc=; b=PUkLrQRb008aXUhGcC7I8yVGl/DYRYEGLf5qWgT/KlhhJLMYkQStJTbfJsu1tfnMBR NzpaELpbV2uMG6kdWwt72xCgIErDhz6uJDAVq1C8MDtjGBYPyG58x5v4VMeg2X2EIX9N Zcn9dR28Q4VxoA3D0u0WJQc53q0Z9jsEm6H1k8ctjc070MfEm9OM+mdquXp4nPyzGufr G3fwpxWrtiq4u7SOH7Z/CGXoS/Ex+JvuCCeTBzSAPQuBXiXIJD9ZQjSxWlThNejutr21 1ILPKVf11ODm8vppPGYR2+GtYKY2my2Ks0el1BuuFj8fsiyBcubvEh3EtAlvuoBQceZ2 1yGQ== X-Forwarded-Encrypted: i=1; AJvYcCXK04VJQH7LGy+oKb/YJW4bi1nT4egLW1uTC0zVXi3WiOJvvWxYFODf4pueDYaJPJFdtxZOcqzxoPviv/41Fkog5ZouvkexBizlIdaokw== X-Gm-Message-State: AOJu0Yz38M0MO4O2exn4QrMv6L2j8cFIoyQgVVMMP4P2F4uuyh3H8puV QOzyblpr0/uD0oX+3IRjjhfmw+ORYiEA1pZedM8XhhUZZb4KfsJB2rMOKwl/9xVdSw== X-Google-Smtp-Source: AGHT+IFepnQDpHcqTbdYQgYMHbQ520Q8WNttr0OK2ZunJaGOwvtIFCl5cwFDkeGXluI9lcMo/d7pvw== X-Received: by 2002:a17:906:e08d:b0:a51:aec8:eae9 with SMTP id gh13-20020a170906e08d00b00a51aec8eae9mr4956245ejb.10.1712591603486; Mon, 08 Apr 2024 08:53:23 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:23 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:07 +0200 Subject: [PATCH 7/9] dt-bindings: rtc: spear-rtc: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-7-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=1628; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=GFvvp+NJ4mdI7BDHKwvdqRInm14P4YsnxCRqORkt+n4=; b=bs3zfnUcz5gwpaUPlz/wrRwcwYBcEGy6bYrrJTdSHbRau10DwIlYJxoxpsBmwPdugAX+didWp Edw33B+ngJbCvBBtLqoFKH6Nttpgzn3gnZWBbsX7feyzl34c8LGzx9F X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The RTC documented in this binding requires a compatible, a reg and a single interrupt, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/rtc/spear-rtc.txt | 15 --------------- Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ 2 files changed, 2 insertions(+), 15 deletions(-) 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 0f773167d32a..d75c93ad2e92 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -81,6 +81,8 @@ properties: - ricoh,rv5c387a # 2-wire CMOS real-time clock - sii,s35390a + # ST SPEAr Real-time Clock + - st,spear600-rtc # I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC - whwave,sd3078 # Xircom X1205 I2C RTC From patchwork Mon Apr 8 15:53:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=S0KeDLTX; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJH25lRz1yXf for ; Tue, 20 Aug 2024 09:56:47 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHq6h8bz3ftS for ; Tue, 20 Aug 2024 09:56:23 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=S0KeDLTX; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::62e; helo=mail-ej1-x62e.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtt33vmZz3dLQ for ; Tue, 9 Apr 2024 01:53:31 +1000 (AEST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a450bedffdfso653740666b.3 for ; Mon, 08 Apr 2024 08:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591608; x=1713196408; darn=lists.ozlabs.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=5Y7DfeV8VLm+4dkW5onFx6zdkwwBWr0ksWuO3GWgBgU=; b=S0KeDLTXabfGdthAff5eKVwzQGZognTBb8CdWafSw+CVsrvwkvi4KskgOxJ4GW8zCq lX7VvDtaBqknjWbugc5wrn2ruG4NTLaG8Uq6PDYVirK3DQMLR0Fw4mHE2kIzmiQ/Lxkp Ora69f1wAoe7yerBcHnghyTxN4GRnghYkuJ167ydrNztQD5VRyauP1AV3x236MDJ9hHS f4BUfRAiq73U5cvuBwMAAjCg6w0Dx/gmmgY5KNpJC54FM04ioMhKBSpA4XbGm0q9E9aP q0OGL/wkauMvODdpVqaVanOizIclToAkKexYRVRykn/faz6VKe3nAx17rmbsFLbgiJvc Xglw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591608; x=1713196408; 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=5Y7DfeV8VLm+4dkW5onFx6zdkwwBWr0ksWuO3GWgBgU=; b=hCAVepvvj3oVe+2IX4pvd1tzD7FJf7QwJ66djwg8j0HHgJVIuOCoQrkMkn7+kCpO6R cOw0ZfInzlNmKImTQK6vYlRxsLVxs8JgHMBlN2Uw7Q/aLc3mzLrEpUU9FybvOl/dFUdT GiHyrz0V5i89mDSNv+jx4AV0YqWlAPfT/qOD8ZBHugIxj+Vv/3mnn/i0ROYYAv3Un8yS Pjq6x9Fa+Vgi0FtWUvg7SFmbiCkVxFwE37BpTvdaNh373ju3500g/cs7Vf0jEBa/grQo 94sH4kFbe1B8iuewK6QJaD27j5kwd1KasRrCkhHWWchalqa3SiEq4TZOIbJ7njQVKQwJ SNxw== X-Forwarded-Encrypted: i=1; AJvYcCWvTwC1ycqPGXLbyOR6ifGsvAoxEBG8eCbh1j0x/peagDxEsfPOHLa9KLYw7sq8S8CjQxpoPC1nDAGi+Ed3QbnIDDvdDNQEM05eLas/HQ== X-Gm-Message-State: AOJu0YyTU8bgc0X/QXKF7fv2T9YuvXapdTlPcf16MOOUOG1WiJh0sPjP 23pdQK4IQKQtgUvYxM7SAS8trlb/0fTp0gVaKNWHS9r1wr9fMkUk X-Google-Smtp-Source: AGHT+IGdfX/y51Nks6qsHsv5sXslTDtqdDAyN1/b0esXW0O17PcNWR7tUFhV60oXtdma+8MhUzqNbQ== X-Received: by 2002:a17:907:3da8:b0:a51:dc1f:a44b with SMTP id he40-20020a1709073da800b00a51dc1fa44bmr1941414ejc.29.1712591607822; Mon, 08 Apr 2024 08:53:27 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:27 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:08 +0200 Subject: [PATCH 8/9] dt-bindings: rtc: stmp3xxx-rtc: convert to dtschema MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-8-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=2964; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=AIsscuJi094OEVGSsAf9Wlesp0w/0ZWJH8OIPmC6tCw=; b=SjxANSNsLql56s4aBhO5sITwOL73aDDWw1tzYNIUF/EDIaC42lzFW9WBN+FJIfBZhJZSJUWG5 L8HyqJln2diCnF1A3y5vZJJOTZpEnbK/pWIrvAK7sqt7PRQjR8fDhvQ X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" Convert existing binding to dtschema to support validation. The 'fsl,imx28-rtc' compatible is currently not supported, and it is only referenced in this binding and in nxp/mxs/imx28.dtsi. Therefore, that compatible has been dropped, which triggers a warning when testing the DT against the new binding. There is another reference to fsl,stmp3xxx-rtc in nxp/mxs/imx23.dtsi, where another unsupported compatible 'fsl,imx23-rtc' is used, and the same problem would arise when testing the file against the new binding. Signed-off-by: Javier Carrasco --- .../devicetree/bindings/rtc/fsl,stmp3xxx-rtc.yaml | 45 ++++++++++++++++++++++ .../devicetree/bindings/rtc/stmp3xxx-rtc.txt | 21 ---------- 2 files changed, 45 insertions(+), 21 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/fsl,stmp3xxx-rtc.yaml b/Documentation/devicetree/bindings/rtc/fsl,stmp3xxx-rtc.yaml new file mode 100644 index 000000000000..bf70cce2701f --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/fsl,stmp3xxx-rtc.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/fsl,stmp3xxx-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMP3xxx/i.MX28 Time Clock Controller + +maintainers: + - Javier Carrasco + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: fsl,stmp3xxx-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + stmp,crystal-freq: + description: + Override crystal frequency as determined from fuse bits. + Use <0> for "no crystal". + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 32000, 32768] + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + rtc@80056000 { + compatible = "fsl,stmp3xxx-rtc"; + reg = <0x80056000 2000>; + interrupts = <29>; + }; diff --git a/Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt b/Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt deleted file mode 100644 index fa6a94226669..000000000000 --- a/Documentation/devicetree/bindings/rtc/stmp3xxx-rtc.txt +++ /dev/null @@ -1,21 +0,0 @@ -* STMP3xxx/i.MX28 Time Clock controller - -Required properties: -- compatible: should be one of the following. - * "fsl,stmp3xxx-rtc" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: rtc alarm interrupt - -Optional properties: -- stmp,crystal-freq: override crystal frequency as determined from fuse bits. - Only <32000> and <32768> are possible for the hardware. Use <0> for - "no crystal". - -Example: - -rtc@80056000 { - compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc"; - reg = <0x80056000 2000>; - interrupts = <29>; -}; From patchwork Mon Apr 8 15:53:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 1974044 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=permerror header.d=gmail.com header.i=@gmail.com header.a=rsa-sha1 header.s=20230601 header.b=l1fIsqBr; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WnqJH6G2Hz1yXf for ; Tue, 20 Aug 2024 09:56:47 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WnqHr1F5pz3fv5 for ; Tue, 20 Aug 2024 09:56:24 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=l1fIsqBr; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::633; helo=mail-ej1-x633.google.com; envelope-from=javier.carrasco.cruz@gmail.com; receiver=lists.ozlabs.org) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VCtt61Nr4z3dWW for ; Tue, 9 Apr 2024 01:53:34 +1000 (AEST) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a51969e780eso555828166b.3 for ; Mon, 08 Apr 2024 08:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591611; x=1713196411; darn=lists.ozlabs.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=j3jReaO8bBGw6JBZ1RkUcA4thqN9iUeRzORfBO64Zek=; b=l1fIsqBr/LToZE+nqI/kE2g/mudH6k8y2uOrjHYWBtJWXpfUl3V1Jvs7tFnnVuskNa cFG+YRyuCJRKZaZV1d5wPQeZb82my0OxTC/mqPMQZvGYPJs0jW8rK00J/70cls8w5X5D azg2QkstqYmOCYXmZx5xV37di6XRCNFADhc/ZOl3cnw1ZNqtAm1zgrHq5GbpFBmT9o8o eJCythEah6wGE+ADwOp3/cYIGDm+sW/vsCXwJgkvk5pfm7suvcntenJj1nvkgJeNGWT1 pU7RalHf9Q0irW2z5LMgjN3ptfs3kDDXwvtGKatpUPLVWBgk1Mk2PdGX4q6pcAKrxslY 2vyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712591611; x=1713196411; 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=j3jReaO8bBGw6JBZ1RkUcA4thqN9iUeRzORfBO64Zek=; b=wy9pUrMsjhBNKGR0/r45Vs93qqMD2u9kVvnL5o9X+JNR7JkUjjaJ3tSR29MSlCk5dB 2zJ31+jgyxha3tvr8Sv4WasU0g0wxihNvx/mSJqXt571w33g5QA967cz/7tZLgBtsoSn XreK3pVDV/5vjb9L3fLXUxJKEPaez4MmFMAx7hT3EUp2fB1MtYvIFC8+/1JT98eqjVar +wmIgTZa9WJM4PYbVp3ZfSzBRMKRDvU48WHZZVrYYT//fVcySlzBPvOvgOu2NAO9B/+8 apTpX8a16ra/y6g8rhCaOhR7y7BndEDNTRbEq4yXiEkyYilU16mOb6tUH10Mh/Vk0SwO keTw== X-Forwarded-Encrypted: i=1; AJvYcCVAuMFTj0BCQ6ecTLhPFdM0Wz6rkZHBhwp47tIpQllEpwue2AGqtD7bzpj8/NLQJWVioYZik3cQRgVLNi5pywa1k+ozPyCTZIhjZZUtZA== X-Gm-Message-State: AOJu0YxX60EUo3S/3jwRfB6mXh9QeqJQNhqrM+S4c8RJTU8us3XDBOI6 MOr3D2cmY5CkJ/1ICtjPSPmP+h6lGvhSKf1qRc5f52hWfK/Qkh2M X-Google-Smtp-Source: AGHT+IHDUn7lM+m3JJro1I7sX1HqWbE56mUHHewyuVneCeBjUwlfT2HuBoGiCiRi+8XMgC8ngOpekg== X-Received: by 2002:a17:907:9485:b0:a4e:375d:2573 with SMTP id dm5-20020a170907948500b00a4e375d2573mr9215871ejc.37.1712591611213; Mon, 08 Apr 2024 08:53:31 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:30 -0700 (PDT) From: Javier Carrasco Date: Mon, 08 Apr 2024 17:53:09 +0200 Subject: [PATCH 9/9] dt-bindings: rtc: via,vt8500-rtc: move to trivial-rtc MIME-Version: 1.0 Message-Id: <20240408-rtc_dtschema-v1-9-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 X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1712591586; l=1714; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=vM6749OZUGmuUGhDa/POZy+5vZeS+6APRIR0QdxNkUs=; b=g1Gbrdrf/K3DdsRveFmOObYxG1SgqzZ8jrKc7OFyd6Mhf+VVcEjwfoBwytdkuegPork4KUfuS X+/UsMcNJb0DUbXRodaJxuNiEAk9sWd0n6FZbuyavNg+PpigpZoRRlR X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= X-Mailman-Approved-At: Tue, 20 Aug 2024 09:56:01 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Javier Carrasco , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The RTC documented in this binding requires a compatible, a reg and a single interrupt, which makes it suitable for a direct conversion into trivial-rtc. Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/rtc/trivial-rtc.yaml | 2 ++ Documentation/devicetree/bindings/rtc/via,vt8500-rtc.txt | 15 --------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index d75c93ad2e92..c48d0dfa28b2 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -83,6 +83,8 @@ properties: - 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>; - };