Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1207527rwd; Tue, 13 Jun 2023 06:22:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70x1oQgRCCs5GlC0Kf9q1acVCYMFG90RoJmmiVVR84P+vyEQyfvRLOQHBspw4fHKJRGOOB X-Received: by 2002:a17:907:a4e:b0:96f:d345:d0f7 with SMTP id be14-20020a1709070a4e00b0096fd345d0f7mr10796927ejc.62.1686662526690; Tue, 13 Jun 2023 06:22:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686662526; cv=none; d=google.com; s=arc-20160816; b=ou/tH65e2D/NpdcegDWr7HWe507LjlXLAelrSO/hJ8sCdkBIgRYPsCFfOW0Sl+K9bi EFpxMouXb3eDXbwvCfLupFkRvdxQq4oUI1VPLPBfmzTMqKnvLcvvDdyiJ0sVFV5fSjMK d7LnnYGp0AlA8mW2XMGmYHo6sfSlb3RX0OzvZzvjQ5yUt9eU+M/LyPiIdV/zjZk1yAV3 ZSV4ZUKEVjgYd99yF60WAE7iJakhT57j9g43c7cISF/ZIFa50yqi+OfjfreB2XSHQ87m HzEt6qP9qRnL4gNubO/SPD8Pob5u08BrjNs0PDM3UxqX+woGsXPsElN9m+oPUbOJQ2yA G40Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+xJuMWym61lAEVxXUiTue+H/o7LcrO2jH0iNPvdmqYU=; b=H8R1slpRaTrxzsLCFo8NL9poaIwixZ/vV+gnguN6U6E3+QCYXTy7GtAaXoVGL6EyhW f1/l/s/a02DUpw9rPS7u/RQ52JySXNa4j7xBp1oycaPmdwwwzUpMgbjrjbErrwQc5hRw 33c04by2LdAsF2BKB7DG4eIxwOEvVa12fOBgo0LgHRpiF3us2l0RdN1gmZdPveYF8fWT kNJK70su7cpeX09YdlqdEwzLh3cp47XieqLGGTmfU/ESiQvjLBondOPdRtnX8XkFzUyx iEWlt6VIrhVltc8UWJyxNBDwhLhQCEM1UlvM8XjRQfItUlX9B3I8LZvELTOkRrFeGXLG ltLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=LZ554JGK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a1709066b8700b00977e93c4e56si5527058ejr.684.2023.06.13.06.21.41; Tue, 13 Jun 2023 06:22:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=LZ554JGK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242505AbjFMNBT (ORCPT + 99 others); Tue, 13 Jun 2023 09:01:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242411AbjFMNBJ (ORCPT ); Tue, 13 Jun 2023 09:01:09 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 937801984 for ; Tue, 13 Jun 2023 06:01:05 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4f660e57123so4626871e87.3 for ; Tue, 13 Jun 2023 06:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1686661264; x=1689253264; 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=+xJuMWym61lAEVxXUiTue+H/o7LcrO2jH0iNPvdmqYU=; b=LZ554JGK/zXIUQdGLcTIlzX3rHyujMe7o5jnsteRYfwba1zjXfbIijsAxJUTqfVdi6 LkYCRuULWSMbRWUw9Ba0J9CeyUj8cDhtVmPI3As/dDfgqrfLqBmetoUrRVNcUb1RtLpG /uiAbehGWTIUscnTWW3bRyT7vhE+Eos+jxBm0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686661264; x=1689253264; 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=+xJuMWym61lAEVxXUiTue+H/o7LcrO2jH0iNPvdmqYU=; b=GuvwwxsTzByJOxR/njkpWryQM2OTnmuDJjNQ2tBhlFymyif/H171eJSHb6Sk3WF7LJ BH6F2KnT++A7GcC9UKHw7d9gbbsH9PvFkY49naZnE7nj3MOi2wWemC4C2KcMDr+6mcMP UdSNIgdJIzb0NtJqS6WNp0ajE3mRpZjVyZkxnS/jBFwy/MOgDuUovYN7E0p/GJwV9Oqh 66E97vcg9gZfJXZVdo1QpUhyJTx5Sslwq+HLGQACqWH53a07RtN3f4yogofa9uuP2dDU 5J5cFuTXlLn4/4I/T0GcLE0BuR0YPvk9kFUnxWjm8SH4TNVd05/dBHR9laHN0OCRlEoV RYGA== X-Gm-Message-State: AC+VfDxJZy/0Kp9D31iBV4xQxGkFmTynsx7Nr04YUQ/T70O5JZJlicoj 78z1JmadGzGNsk46y7+ARjT/cg== X-Received: by 2002:a05:6512:3130:b0:4ef:eda6:c14 with SMTP id p16-20020a056512313000b004efeda60c14mr6073313lfd.35.1686661263750; Tue, 13 Jun 2023 06:01:03 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id u24-20020ac243d8000000b004f14ae5ded8sm1793786lfl.28.2023.06.13.06.01.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 06:01:03 -0700 (PDT) From: Rasmus Villemoes To: Alessandro Zummo , Alexandre Belloni Cc: Andy Shevchenko , devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rtc@vger.kernel.org, Rasmus Villemoes , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/8] dt-bindings: rtc: Move isil,isl12022 from trivial-rtc.yaml into own schema file Date: Tue, 13 Jun 2023 15:00:04 +0200 Message-Id: <20230613130011.305589-3-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230613130011.305589-1-linux@rasmusvillemoes.dk> References: <20230612113059.247275-1-linux@rasmusvillemoes.dk> <20230613130011.305589-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the isil,isl12022 RTC bindings from trivial-rtc.yaml into its own intersil,isl12022.yaml file, in preparation for adding more bindings. Signed-off-by: Rasmus Villemoes --- .../bindings/rtc/intersil,isl12022.yaml | 45 +++++++++++++++++++ .../devicetree/bindings/rtc/trivial-rtc.yaml | 2 - 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml diff --git a/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml b/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml new file mode 100644 index 000000000000..7c1e638d657a --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/intersil,isl12022.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/intersil,isl12022.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intersil ISL12022 Real-time Clock + +maintainers: + - Alexandre Belloni + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: isil,isl12022 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@6f { + compatible = "isil,isl12022"; + reg = <0x6f>; + interrupts-extended = <&gpio1 5 IRQ_TYPE_LEVEL_LOW>; + }; + }; + +... diff --git a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml index a3603e638c37..b062c64266a6 100644 --- a/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/trivial-rtc.yaml @@ -45,8 +45,6 @@ properties: - isil,isl1208 # Intersil ISL1218 Low Power RTC with Battery Backed SRAM - isil,isl1218 - # Intersil ISL12022 Real-time Clock - - isil,isl12022 # Loongson-2K Socs/LS7A bridge Real-time Clock - loongson,ls2x-rtc # Real Time Clock Module with I2C-Bus -- 2.37.2