Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1437548lqe; Mon, 8 Apr 2024 08:53:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVpDi8tOGINh5+lwU7BVf0YtVDqd5cExgV+S+SI/d+QUuag+oBvkbYO5e4H5jGvbOGpVuJT9vpusE+gRR0iakezo9sy4f4htz0NHl4sWw== X-Google-Smtp-Source: AGHT+IENYvTIgEWKEkMZ4iysitBKgD6vom44HwGdZBIGlhJab6kU96Jlh0A/VAOqsvd98zcM9zLm X-Received: by 2002:a05:6214:2627:b0:69b:ae3:ee3d with SMTP id gv7-20020a056214262700b0069b0ae3ee3dmr5043883qvb.9.1712591635486; Mon, 08 Apr 2024 08:53:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712591635; cv=pass; d=google.com; s=arc-20160816; b=crgjqoxY6I+sZE6Rj9dx8CrayOeXhhNz7I4Coe2DoHZnJGwZOK4MJGedtKCRdHcu2/ XaokbmFFY8LhCo8N7DTtMbHLGjOkEPADLHXS8pE0JaZwm40f/y0L8FafwdOYtqBCOR0p gBnHDwWGjLd7Zrv18DZKMeAiNFnBkB6FgCkjWEa3aVabZh0Zguy5NGB5NV5y2TpZPwMv DbN/Psv5zBQPYwJ5olWd3ZKEE+jJFYoKZJj0BKVaZ02d/rt7kfsuPpaMSbJrrDZDyhtt UWNCUI800OlWlJh83BCikk6lbZ6gI7PYCjNJ5202mug1uzR3IyMIqkyaDTSj6jKmv6dn D0IA== 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=OZNPSolpsyW2BBt4Cv9G0c69Pzyf7OGHTEy9xs9+O7A=; fh=WuAz/GRTse2bN3IMxWEfl+ZYgcmdV1iUSDaHUE777sQ=; b=z8neLnUzf0ixtJzgT9YY6IGDFLhXSEI55Ibqb3L5dfbJpfH/i/BYCEXpMMfgKCWs5v qDgXgLwCBvQ3n+4cs38hlGTV5UFOx4Ud28S7/wde/I8IXoPksOZmmlDn5VusghYY19n7 ZiQK47dusAALVh7YaqcBE2Q+KxuQN+Uu6dFujGBVBWXqXWCA0FMKzcVj9jqrueowQiip xWeck/vtq/xT4udjBv6fMLHQcvRc3O8RyVSZb9JmOqP4GjOpiDjZIRCup4jKjkzGxDqr SLAx8T6YcA5fju/0IWZ5zOx+uKO2y5yRnyG3uFU1RhYb9HxbJ4nW6tw2WrjSgM9eKP44 PLPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H0TC8yZe; 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-135632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g9-20020a0ce4c9000000b0069b23db16a1si832963qvm.161.2024.04.08.08.53.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 08:53:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H0TC8yZe; 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-135632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135632-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 39BC31C21C96 for ; Mon, 8 Apr 2024 15:53:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D65C01428E6; Mon, 8 Apr 2024 15:53:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="H0TC8yZe" Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 321031422DD; Mon, 8 Apr 2024 15:53:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712591599; cv=none; b=ck7082bzpt9J4m1g/J1EMVKkwhaU/DQVYUiwBQ9BXTCiKQIGv/RNja7cNU7Hk0ru+cYBcCZRZfWmF9R77QqnkSVwnZr7vRVQHyQbHq13GHaggLk+PD+GRU8ZuDX8oa44CW74JPTgeIfEu6uvcEmA9KI9mnGC0eQHz7MhZtrXCuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712591599; c=relaxed/simple; bh=oXF0IOpDbbU06OjI6OgtSVdRvz0EfEWAr+7KUKC2fPo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HG1UhfdhyLvgSHphNEOyAa0USbm741bjyAdghbrXGYjkhifQtM58KG/cJ7g1T7Dt2df6vGoGN37BAeuNdu1Hh1LWKGgxccfDDlCyiz9IMDcNd3neIl3jhdjUkfrrs9Uh4LhDipW9Ioubaqz0vMxh5P5S618BkliK8EdpLcw5Vd8= 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=H0TC8yZe; arc=none smtp.client-ip=209.85.167.54 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-lf1-f54.google.com with SMTP id 2adb3069b0e04-516d1ecaf25so4632688e87.2; 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=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=OZNPSolpsyW2BBt4Cv9G0c69Pzyf7OGHTEy9xs9+O7A=; b=H0TC8yZegMO+X3le90cx46Q8Cx1YNjaRCived1bgdughzuizA8CDVdVa30LFcipXBj 2KuJgAgrJ/MWDz4/v4CqWEabQffMw0L4vMbIiGntu9SjQvVlf4202hBEiLCYUEzm+G2I qH9kUmF//L0kcy96i1oA+SyQY6FURngGqFgyeeMtK6BdG/RLI+JDvQjVKC7VTXtaHf8b 8OgqtU+FgFA/S7IN8wi1pfE2Kf5JSXNQv42tmoip2KajjnurR7H6DJJlV9rTGLmZqxLA WE9CI4OIWoxtJ5ZSed63q/PwjRl9w2c7SrVZeksBnIAynd+7V6WWGXAD6Eky/SynSlP7 DzwQ== 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=nZWLG9FbP+qhvxFaH0K4nfJFAOpF9WiNe+i6DEhIHXmG2jOSNNCbtMyUQZVchCU4D9 /Hk5KKxtKD+GCAKhRJqDsSFJvnLp2N0YabLV3FiM+Aj3BfYxwxsuK5Nr/bOyczv+bClJ +5VKJVd6SD1212wDaam4XIq7YaYpdgxoolwTl8f2tx0WTKv4yg0q820cSuorP9fY2hbR e9lqmJFN/2T2ShqNyrPZE/w6UD2ehQzpLb1geI3laWrShZALO6biJg2xBSqoc3raHcxf Qci4Mq8aJ5pzQeo/iszYtKBW0hN0l43AoJ1L7VIXO6+BijxHHoOLvbCEFwq/rTtUvMTp xmnQ== X-Forwarded-Encrypted: i=1; AJvYcCX580uJjRzM5jXagOQmxURZ+40iauypJH3rUJjMgumuwm+kPLMQqCGI8/eq7EYuVWIYtNmvw9kXmUP34FMzEa1LS36AKCtnoGm7hqloUKO0dHAHlQaTiMQtl+YBREE9acpSJWjzJ8Okkw== X-Gm-Message-State: AOJu0Yx6Inmw9UuqR+bciwqV1YFYXu68Ulor7bV5i8pUEEDW85HaDdtS AXHWbkHJQ8SU/SjHPsobkP4J6zRVeFTwWUmDsYHPXaaYPKzrshhk 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 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-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= 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 -- 2.40.1