Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1927990lqp; Sat, 23 Mar 2024 15:47:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXi6StzwYBaWgs7MYvNAAVY5V3JSLNRg6UysynWv7M9wsIFBNkzJqhylKparUhG+Bq3j6rD69SS5dEU7KO2M7kncztiAmRVzy6lET9P2A== X-Google-Smtp-Source: AGHT+IHsQzKgoPKX2lg21wWGWQLYVhgccjqjSZniXRWukYtyEqPxLjY7P0MyHaWqfYIHVPs/yCo4 X-Received: by 2002:a17:906:7109:b0:a47:2025:905a with SMTP id x9-20020a170906710900b00a472025905amr2546301ejj.49.1711234041626; Sat, 23 Mar 2024 15:47:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711234041; cv=pass; d=google.com; s=arc-20160816; b=xHbfhj/zw6Vz0XoSIXHMrXH26qTv9B7x+iI22yGzS4ldWs1EHZ3sl0opTBaEkR/pDL nlDkHtwYM8BjMqv7J3Kt9bQbM0+WSo64h8pX38yvfZHg2PBHGtHUM+0kwr/jQRhCW2Ui pvc1e9MbdKfGDdUXDrcAugsP3oVuBEKiK4snAHWwkmb/oldguH1MKTjvvY76OSoNm1Px t7YeByt26Wz0YKIgg3oIE5zMTx3atSAILxG+Dml6aFeYxEbtHWmPLP7lv6JD6THIrT/s MXZpFT3qNnh1o5hmz5xOZle54rTKOmIsoBLK+u+hwl3ywwUNFOt+j5ARK/BibEXTSWp3 2eog== 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=7F0fLmvFShDUvgX2kPM7vLCKKBKWroKRJEPwwDn+1rM=; fh=YhdW7WK5vzhUSHZWll7Hf8hHtj37H4XqPpxUiAUJlzA=; b=0jbp00JZotDA/SNUNLPi3LTG44ZZAWQw3QcJH4tIRGh8Tq5d/kXEjDoRAPG9JS4fgQ XvsPCY6PxikFVLbAD3iYVG8XRwYdHr040ZS1Y+bO1Rnz+1UloO0Qua6tZPpYnrmA8afx BqvgJHzMZMnn9CuwVr2qQLcpbvKZiX1gxvYkqg0o6aiRIWTptZFLpDkH9qnyMs6ajHyq rrCrPwokgph1GN/KuJT9PuH0EkQeJ0WkN74kPHYqpAnVfQZwm8pJLcCw32GkSBqTORC2 xV55hYq0Rl4T08MQIZGGH3D5yDuPlD+Fg00CGyFTmD28AEUkywwPTWJ2Vqj8MkiYFItf 3dAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="C/IX5rbZ"; 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-112508-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112508-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k19-20020a1709063e1300b00a46d5968de7si1127967eji.639.2024.03.23.15.47.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 15:47:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112508-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="C/IX5rbZ"; 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-112508-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112508-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3139A1F21122 for ; Sat, 23 Mar 2024 22:47:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 840975D8E1; Sat, 23 Mar 2024 22:46:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="C/IX5rbZ" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E58E75A781; Sat, 23 Mar 2024 22:46:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711233996; cv=none; b=VgMSE+//utlP3CPTvs0kU44i1ZsRa/2MPInhAM3q5pCNmDQ7uZFFXU+wNQpNmvlCZp+7Fb05uTY7ZFDztFl9Y8rebnCSp6xm0yXa4GjLNfrFqsT5RSXb/C3ZjNKCVQv9ybePaQpqUeyxv2TVrze0M6CVMHMLCbwiOcbJ2s6Rmoo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711233996; c=relaxed/simple; bh=KsOB1Cx1AE0hQx4b4ElDFKUK4NMTkP4wB55sSj+0OgE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dZjJkXvflbHL+ZlSaI/xstI7CSiPnPhSTiWJWOtAeamf+41Ry23rSD72mREZXImcLRXH5nwPkuHhln260FCjAH1c55SGmq9f1lqG2B6y2qt2ss+JeBVfUGX5OL4vcKpo4fYbsG4xnWaHNrOD+CsdisGNCSkXwXI56oPA+WT+bLE= 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=C/IX5rbZ; arc=none smtp.client-ip=209.85.167.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-513e134f73aso4228107e87.2; Sat, 23 Mar 2024 15:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711233993; x=1711838793; 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=7F0fLmvFShDUvgX2kPM7vLCKKBKWroKRJEPwwDn+1rM=; b=C/IX5rbZp2JIQxJ1dJpveFYREhkriRtDw/MXkdcDm+XS8CEMPyI7A6mTWim0Pt1MD8 gIBo7YoHvNCwqc9KG3E1U1deP6CCNbE5Q/jlUp4xJlQDS1clBqMG/vdLUb8aOq59YvcL 0dAcQQMqRxchIBpDORuOpN0sMOflySfOSHabckCmzp5lIUyVudWGuOGvx9CpJOm8kqe+ PmfxrORedHJq4RMbN/PgD59leIxSGLPqRyMPhBavLdmQD+zG+93TjowT8x3FrHskL/Ee 0SYHl/m/dEcdB7DHHNEePwbjsJ/YhLDigVi0R3HOWOmWVwhKNb0jDLvo7ptORphqTaQ6 MQ8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711233993; x=1711838793; 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=7F0fLmvFShDUvgX2kPM7vLCKKBKWroKRJEPwwDn+1rM=; b=LBLwnv3lcFG1VyhSDsAkBMFSBIF8/3tfQmcSGuxc9zs8pVjV6bq0XNxwRTkOPqqXF6 6ThCasfQqQPcBAUCIEp7DlC2kbAfL7jvVvaZoL3duQ+86DkJgRq2cxjEpxmFAgbciMtC FCBgpUhBbsMYQ4uPbOvTAqP2NMZMxgbt5CUW0bhVI1KaTb3s0XXHsgoEw6dpA5nuoWFh L6TAicnkHC7Dym+Ue8DEtzw2SnUaSfm06pij3i0gF4JoYT8ZrRR/moZOzqQOPJXMtZEu eKZbAHTkjSaslR+0Y52U/x10AnRJDJ5f/6FIx3NHqyYxIh4XAMDgvyiDLcuQZtvXU8Ue y9Ew== X-Forwarded-Encrypted: i=1; AJvYcCVcGl/UlMLQBJy+RhQG2OZZjexodo6DMmC4L0cx7tK97YSbdwxOSdzzhzHozDaJBNTo7AQUsXR2pL/IvJfCdJcr7UQb/FEOAtzXMLMAYTWCtLSB60ruBpMhm+qx6cdrBIG9FUtebd4SHg== X-Gm-Message-State: AOJu0Yzo+K7jyQAm+SaTn/KZWTggfsDmPwhZ29JWr4/HNGPXdcQeMfyk uusqZJfJAOtPyOX9K+pGsM508l1cUKkFoJbqy6zP4Ur1q0RpWEUZ X-Received: by 2002:a05:6512:32a2:b0:513:d482:a6c6 with SMTP id q2-20020a05651232a200b00513d482a6c6mr2612965lfe.30.1711233992726; Sat, 23 Mar 2024 15:46:32 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-195f-8ce5-d7d9-2242.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:195f:8ce5:d7d9:2242]) by smtp.gmail.com with ESMTPSA id bu22-20020a170906a15600b00a461d2a3374sm1350424ejb.47.2024.03.23.15.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 15:46:32 -0700 (PDT) From: Javier Carrasco Date: Sat, 23 Mar 2024 23:46:15 +0100 Subject: [PATCH 3/4] dt-bindings: rtc: digicolor-rtc: convert to dtschema 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: <20240323-rtc-yaml-v1-3-0c5d12b1b89d@gmail.com> References: <20240323-rtc-yaml-v1-0-0c5d12b1b89d@gmail.com> In-Reply-To: <20240323-rtc-yaml-v1-0-0c5d12b1b89d@gmail.com> To: Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Baruch Siach Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1711233987; l=2259; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=KsOB1Cx1AE0hQx4b4ElDFKUK4NMTkP4wB55sSj+0OgE=; b=PFEJjX81qC9arhreYmX19OiEZdS1JKEEqnL130OxQtBY2DNjl6Y2i3Gh8g2usogby3LELH+Ov E8MJYUf2RXhDFlBZrGMyaaWQoWTbeSVAF43QhNtBA6gQnBQrDxMEyS6 X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= Convert existing binding to dtschema to support validation. The binding has been renamed to match its compatible. Apart from that, it is a direct conversion with no additions. Signed-off-by: Javier Carrasco --- .../devicetree/bindings/rtc/cnxt,cx92755-rtc.yaml | 37 ++++++++++++++++++++++ .../devicetree/bindings/rtc/digicolor-rtc.txt | 17 ---------- 2 files changed, 37 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/cnxt,cx92755-rtc.yaml b/Documentation/devicetree/bindings/rtc/cnxt,cx92755-rtc.yaml new file mode 100644 index 000000000000..bdd6f0718b0a --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/cnxt,cx92755-rtc.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/cnxt,cx92755-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Conexant Digicolor Real Time Clock Controller + +maintainers: + - Javier Carrasco + +properties: + compatible: + const: cnxt,cx92755-rtc + + reg: + description: + Base address and length of the register region. + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + rtc@f0000c30 { + compatible = "cnxt,cx92755-rtc"; + reg = <0xf0000c30 0x18>; + interrupts = <25>; + }; diff --git a/Documentation/devicetree/bindings/rtc/digicolor-rtc.txt b/Documentation/devicetree/bindings/rtc/digicolor-rtc.txt deleted file mode 100644 index d464986012cd..000000000000 --- a/Documentation/devicetree/bindings/rtc/digicolor-rtc.txt +++ /dev/null @@ -1,17 +0,0 @@ -Conexant Digicolor Real Time Clock controller - -This binding currently supports the CX92755 SoC. - -Required properties: -- compatible: should be "cnxt,cx92755-rtc" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: rtc alarm interrupt - -Example: - - rtc@f0000c30 { - compatible = "cnxt,cx92755-rtc"; - reg = <0xf0000c30 0x18>; - interrupts = <25>; - }; -- 2.40.1