Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5409531rwd; Mon, 12 Jun 2023 04:55:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Ohqx7K+gr4vHQPQVV0F+h8MT4J9RZY9kYcUoBSj9e/hmMIQNs78Gnvmue7VYiqOJ+ttlT X-Received: by 2002:a17:902:ea44:b0:1b2:5689:8686 with SMTP id r4-20020a170902ea4400b001b256898686mr5903443plg.63.1686570935025; Mon, 12 Jun 2023 04:55:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686570935; cv=none; d=google.com; s=arc-20160816; b=1K30hUytCTYdH+3TapeCIrMDqWd40dMzLeGhzzrp4gxkILNUDPcqr7VGSSO4XaX/jD 0A3bNSsjOgThXgz3NWXT1Rl7n/XYW+3xtVpcibz7q87Vscm7tnbVS8x8w/1tK9jFocpk SSkmoyiZ2KKLDs1F43pfKbkjlCNLR4RwiE/yisYMvS+gZMIh5DsgYgk6TOeBfIBgaRSk TYE/v1gqgIqmZ2nSZK3L1Gjx3m9E8kohc/a4L0Blv8XJMaNzOSdwAZAtGq+xqzYNu6Jh FSmDWj31JKmIjCzOCpklnMdfUQ8R+zCKX6pVBjCp9Laf/IDKQLcxtgrZXvzM7FW4e9AH 57YQ== 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=A/dhIkHJ/Bd/JpiRxxUt23+FRsEwSHxsnLx/azCSW6k=; b=y+V/db44wK6hKVI5RjitknJqIhUHmS1gxY+KEZmTn33m32H3hTRPWk16RDIDWu/zS3 h+n9FCboTlAavFWPoYjowU7fENagqJ1eKB01JBnvmiEVksO5aD56Z4BD8BXcgo9AZyi9 l0RZ9hFo+KoRxgdVUMpAypaN/PgI5Klt3iut5StU8qphFgPt/k/l2OrKKoLACCIUztGY wNjclWZGVaw2K0hy3dvZ+5ksFddkg+y0VpTUnvu4b/ul1jJzp2a25eSmcRAjLU1n7Dis 1ual3wbP1wic6KE65ppNzxRpDlj9+c9aCRWkSBpn56HkoWtvAtYWSecN5nBecJYXFait dSkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=LecpfOFA; 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 q16-20020a170902eb9000b001b39d67e905si3586294plg.181.2023.06.12.04.55.23; Mon, 12 Jun 2023 04:55:35 -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=LecpfOFA; 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 S239400AbjFLLkv (ORCPT + 99 others); Mon, 12 Jun 2023 07:40:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231993AbjFLLix (ORCPT ); Mon, 12 Jun 2023 07:38:53 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DDB36598 for ; Mon, 12 Jun 2023 04:31:14 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4f63a2e1c5fso4934047e87.2 for ; Mon, 12 Jun 2023 04:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1686569472; x=1689161472; 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=A/dhIkHJ/Bd/JpiRxxUt23+FRsEwSHxsnLx/azCSW6k=; b=LecpfOFA5R5ROPy2U4qCs9GjXST0XM1loQRP+J1c5EvCrAsd9vg3Ubk1q79K3T7GaL BAKxYsX2y3JPonza2iOv7Tk47bT4Po5+hRG4xdRnDdnjxbh728+YOQLt49LjKNpod2dd hoqlX3Te6x0E17igFGqYoXS8Sk3zJ8q78VKiQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686569472; x=1689161472; 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=A/dhIkHJ/Bd/JpiRxxUt23+FRsEwSHxsnLx/azCSW6k=; b=WlcWlFnPsVZj1qP+Rm/qJyltyEQpfO+vAAHKHUJ4+YR5Y0n1kSJdGnbtJiLoemOgHR KNzkAjl/sumee7jsOWpCrn07pjhIZYbGGbEZ9p7AZvxX6iFsBKOzlapC7uWW1GeJieks 8Sutc+DAY0S7VgTp+MBVZgKUGQSahHYn7Y35EvtloIsuujZYpX1RGSnYtplcNdOg1p0o 2OQJ82i+E84s8gxYAJAb6PfppQ+WKsQGyr+RleuUNoSoSKT9XG066Hf4sX+BUNyiMiH6 K0IWO4MtwzhPK+PObkORoW3T4jvrmpYEVCA/UgaKyAmX1GJbeP1+qR2RFzxulrV9EEZd pcdA== X-Gm-Message-State: AC+VfDxJomYTUUiI1e/BgbTQwgXW0nypggx1dXYvnns0/D4qPjJx6yQb 0hMeeKksrY5UQuCAjs2JNChzDA== X-Received: by 2002:a05:6512:548:b0:4f6:4a10:ac4c with SMTP id h8-20020a056512054800b004f64a10ac4cmr3872985lfl.42.1686569472698; Mon, 12 Jun 2023 04:31:12 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id w26-20020a19c51a000000b004edb8fac1cesm1399320lfe.215.2023.06.12.04.31.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 04:31:12 -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 7/8] dt-bindings: rtc: isl12022: add #clock-cells property Date: Mon, 12 Jun 2023 13:30:57 +0200 Message-Id: <20230612113059.247275-8-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230612113059.247275-1-linux@rasmusvillemoes.dk> References: <20230612113059.247275-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 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 The isl12022 has a dual-purpose irq/f_out pin, which can either be used as an interrupt or clock output. Signed-off-by: Rasmus Villemoes --- I've tried to express the fact that the pin can either be used for interrupts or as a clock source, so that at most one of "interrupts" and "#clock-cells" can be present, but I don't really have any idea if this is the proper way to do that. .../devicetree/bindings/rtc/intersil,isl12022.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml b/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml index 1e85a9c8945b..345abed9234f 100644 --- a/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml +++ b/Documentation/devicetree/bindings/rtc/intersil,isl12022.yaml @@ -19,6 +19,9 @@ properties: interrupts: maxItems: 1 + '#clock-cells': + const: 0 + isil,trip-level85-microvolt: description: | The battery voltage at which the first alarm should trigger @@ -35,6 +38,13 @@ required: - compatible - reg +if: + properties: + '#clock-cells' +then: + properties: + interrupts: false + unevaluatedProperties: false examples: -- 2.37.2