From patchwork Wed Sep 13 15:16:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 13383292 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 0F2FFEDEC73 for ; Wed, 13 Sep 2023 15:16:57 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G9FEqTXDTEa2xTBnBPa8u7ezE0D/V92JAAPOmJWMYZ0=; b=HM8mInpsnT6FAT YSXVDBqWBTe+786FMpfY9NIPxcCu87I22lfadX1CrW54PbuHHGM+2areXCaziHzVFPXTV5p4D7jlE u2EuMokoW4czcV6fIVXvlXVTa4gumVhLOphn8YBqYkcnp1sB/K80vNUp96BACs6Rr43BiMkE0ReGq 84kVvVmBI1/guSWDxdLOUJfOT8By0lQkipHBtowMALueBwYTtzXI6CNqwG2LjGAWTat9rk+riL5m4 Ss+bheTy+QtqT6MoPgKvnEBGcMaKni8jLU0tD1r1cnr8isHqWzespJabcWM6YRgeTqUpy9EcE6fmb I+m6PoKkJCC5YWbMF7qw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qgRbV-006CD8-11; Wed, 13 Sep 2023 15:16:33 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qgRbP-006CA0-21 for linux-arm-kernel@lists.infradead.org; Wed, 13 Sep 2023 15:16:29 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-403012f27e3so52005925e9.3 for ; Wed, 13 Sep 2023 08:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694618183; x=1695222983; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pNvYjKW7PomV76gyvQhLurgIb+vmLHOwQJgyz6Ao3Z4=; b=A9gLdav1uiGambJ4aY2fqwhyC6EcioHij3p+7rhYkbEijQlRss0mJbEEucmhu12qIE uJlO6E/I7fYgM848soHtoFb7cwmqfPZEBsdhpBzW6qF0Du43DI+BpAA4Wg3ft4CQh0Ka jcTd7fqDLuIMiz7doO6nT6XgX9akxEevFOifoMMwHIhOZdo0uYCRXiQV2YCRaLHsxzxI 7WbrZjIBUtQHamnbsTcc0ltKiHsr2JsyVVv6bTTK9Zd1o+TsywM/oF0GFT11uOqmrloX oGLuHCddO/G5LUhKBQp0oRLNfYujRrmyMCDz1g18q64K67kJqwgD+DpfyOkIBqL0ggmo y0vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694618183; x=1695222983; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pNvYjKW7PomV76gyvQhLurgIb+vmLHOwQJgyz6Ao3Z4=; b=IxH2fmwoj/qHmkCfLE/qiaCzDOT6/h6Mop7QsOqDv62Er9kv1IJCpISuo0EzQDyij4 qUfHuUAahOAPoygmMTpvh2DGWGrZcNL8D8mTcrOc9ItnNCUnWByGGhFgBIAjD02uLSMx zba0vwwKJp+hm55jppWuhUXJ2rphpTqgmtrklbzBGUyNeTIuFGkw6g7tW8jT5YyK7V3A N5EQu2F3Fjnk3KINn5F74D3Rj6W93Lw1mFHnZGFUzgBeyiC76XBRKa669oGaIab6Wlo5 mOPLIe2wLO/CELLMYa5Ihj2a2KFs1GUm794ELHLpI5frf0nQ0rYUhvIUeuT+ZwWrdgc4 naag== X-Gm-Message-State: AOJu0Yx9jOIGnWbBjmpS1q+sKph3E/MSB0vI4/w6LhkGxcZpwjYq7PEM 4e+AsY2FceMq7/uHEGfdKM66bg1SsvfOjA== X-Google-Smtp-Source: AGHT+IGn4OleF+wn7zer6c5nSeHVXOWrMzBtMjTRpP5K22bLCa0F/2iJByN4iCAY73vGnev+is5GPg== X-Received: by 2002:a05:6000:1006:b0:319:7472:f0b6 with SMTP id a6-20020a056000100600b003197472f0b6mr2171418wrx.15.1694618183348; Wed, 13 Sep 2023 08:16:23 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id h5-20020adfe985000000b0031ae8d86af4sm15664490wrm.103.2023.09.13.08.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 08:16:23 -0700 (PDT) From: Romain Perier To: Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Romain Perier , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/3] dt-bindings: rtc: Add Mstar SSD202D RTC Date: Wed, 13 Sep 2023 17:16:05 +0200 Message-Id: <20230913151606.69494-3-romain.perier@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230913151606.69494-1-romain.perier@gmail.com> References: <20230913151606.69494-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230913_081627_683931_D1F98225 X-CRM114-Status: GOOD ( 14.37 ) 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 Add YAML bindings for Mstar SSD202D RTC. Signed-off-by: Romain Perier --- .../bindings/rtc/mstar,ssd202d-rtc.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml diff --git a/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml b/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml new file mode 100644 index 000000000000..4c1f22ef5a2c --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar SSD202D Real Time Clock + +maintainers: + - Daniel Palmer + - Romain Perier + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - mstar,ssd202d-rtc + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + rtc@6800 { + compatible = "mstar,ssd202d-rtc"; + reg = <0x6800 0x200>; + }; +...