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: 13621336 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 0D8BBCD1296 for ; Mon, 8 Apr 2024 15:53:48 +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=Zn1/NOqhvrxNEUOtuPz/ptZDS4Ly+WHFMwQ61FUbdzM=; b=LMlCpKVUQDpINI Nc+2P0JrOGJa95YEtzZwbr7Ca8fiaed5aBkjgin+MoHrPy6eLM5x+1Wzar7S/ghojJgP4SPNQ0/uZ 8gcELoBE/IaQlvGsh0zif6IxTsFHo3TPBeZxPL4DywUldr4GX4xCvjp9uvp+5oDyMO0BSWi7AEiKd DmR9lsfMvB9M4dl6+XgSMyV8F8WvrbVUu37onoh1qGTtq0GuhXAbbNzRLndHIbac8rfsOMFL3Jqm7 jgO6BEwjJNunJD1OE0HaVhIU6rE5076g7TziGlhw13vVqBHcu5jBbHJxKc6EOHlflN65WpLub5WXs BcZ+XXVaVByx8ER4fJ0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtrJR-0000000G61v-0eTQ; Mon, 08 Apr 2024 15:53:37 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rtrJ8-0000000G5o9-2iMM for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2024 15:53:20 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-516dd07d373so1311282e87.3 for ; Mon, 08 Apr 2024 08:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712591595; x=1713196395; 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=OZNPSolpsyW2BBt4Cv9G0c69Pzyf7OGHTEy9xs9+O7A=; b=fhQW2BhXKiPauhvRyks9T70D76rYqdpZ0VoAl0Sh1dlNmuto90Xoq4epfwnAH+obgq PuUXtYp+RF2jvUCpSov6npLjVVhZrn8+xa4BNZ160UB4qUQ00Zg1BoUcBOXrTv0OMCoo A+AuAWhHXFKA+CY1FAYc40o4vbnEf8+usaoAAIEAfYbHUVW2TQYewmHMsiBgvJDnmoFr lmEB4qKzlWfnCzeuJEwPY7aYIFPUh2Z0+5O/AQTDKmOXiW1YtWbHjMzYARO1hjeNkf2A HBFTgMOITZLLOux9TCvxp8zOpe4bxJo0HrBXjSgbrpxzh51sj7YsmIq3SGL+kzExI37J sxOg== 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=I31MrrqnLOjojlJM9m1rbbtCvQ57mjUuN4cxJ4bwN7xtfvuGeRZGjt9QfBsnEZ4d0i heLCBLAcGLfJsUcfgSnKYnkFKhZ7+LkuCDTU3JRkzxYVKdhBV6WNh3/Gfmnk4nkwyl96 ycUE7KxH8TOkDMgOoenJKTegjWooHPipaKsztX/6GCpB0X5QDr+5H1P+8K0VVwQfwHZm Jlil771YsD9ZwKlbVkFf72ZDTc/wUay7TCzmgHufQVBptnzK1N1kYn3zDQTXk93eDGFE QayFzg+oVLLNLauup0OVMOU0pk9TWq9j5WmHEBMGKnfqRqXiSnN3mhnUq+oGhaMF8lUg 5kgA== X-Forwarded-Encrypted: i=1; AJvYcCWbVWOtlNP9/A5O+l2WoBj1dHsNztuj4Knsg4DMWGVit7bui0CS+qvvZ4lMhFJpb2nKDQ4ix0HwqSJY5hRxs9BrLB9vsRh2DjlEImVAiOjz93wirXs= X-Gm-Message-State: AOJu0YyUqtRvCRmIDrFFAEzU0XEt8u74NGWbjR754ydWQ0He0tzkeAcT nFjYfYoobIOqKX5MP8Z18HzVjj5NyF7QiX8NkmUlNNFpDoiuERev3SNp0coEo8MHCQ== 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 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=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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240408_085318_843682_8C8AD1B9 X-CRM114-Status: GOOD ( 11.86 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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