From patchwork Thu Jun 15 10:58:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 108437 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp557475vqr; Thu, 15 Jun 2023 04:23:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7J32cj90OfPtMg4aClAaUNkUNXqoGLtAZ21SHX97zTlE2b6mB2WPTmZmC+jG4rfmuQPvC2 X-Received: by 2002:a05:6402:3496:b0:516:41ed:fd40 with SMTP id v22-20020a056402349600b0051641edfd40mr4549684edc.12.1686828229688; Thu, 15 Jun 2023 04:23:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686828229; cv=none; d=google.com; s=arc-20160816; b=CKH/tGftip25uLP5jHeRsyo+kLSBdXL11O1efScP0xieMUKhQ7nosXGFVNAa568Kg5 oNjS+TLKXjSfn6wTyRvmv1tyuYFDXBJxTcUJ8/sbqhjkiEpz4iCESFwh2BQ4bJ5auwXm 1DrfLXkhQaUWgaaRW6cNti5kCH5ivqCvZZMt1YaUkHN0I7MW9Hikkiq8oCy2RNk6C290 LL14e2FznOnll+QqmtCY7TRQuTu65pU8CuWJ/xUDeTMEVyPLulVbKvFzIGeDKNkJKxha qjWUUbFN9M8CPXkA0NIUnl5yLeVA2wC7Dogk5gcWsZ49iF5QxTqASLx6By6PnbDCqx6g pacA== 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=aIDXI/11BslSskl54h414rVvg2lyuYHt6cU/p8nUA9g=; b=A0hi24lchBocXjO4IJ80ySAqfzRqQ++DuWBgvhfOWdz6qm0PI3K5OIzOVp1sKw1bbm mt09Gv9VNswX6b0uFuy51os7yxF6UX9tCuVRxo5x08zWfOVvuuO3t6P1rtPAlHFIpz05 Qx8H8yJaKFiTQYzguTTSQlmD/2pI7O9Y+uaVXl9SZ1epo0KJjC21c0DHYOvKOv4fslxj w1tZBL1BV/GKaNWQRNUQkRuM9X7nxMpLjkzEuKXBpGGVoTpDorL2PfT3ONL4+5FHv0pQ 3F+U4iiMnV1sBwSdp0+7jSiEYi3si4UXaT6nrMqMUBXyuhDkQFfGEFzBNmm+46TKE0hB DjwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=c+yjgpGd; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a50eb4d000000b005162d2d3c1csi10086227edp.58.2023.06.15.04.23.22; Thu, 15 Jun 2023 04:23:49 -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=c+yjgpGd; 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 S1343637AbjFOK7P (ORCPT + 99 others); Thu, 15 Jun 2023 06:59:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343821AbjFOK64 (ORCPT ); Thu, 15 Jun 2023 06:58:56 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72C202963 for ; Thu, 15 Jun 2023 03:58:51 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f5f728c4aaso816581e87.0 for ; Thu, 15 Jun 2023 03:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; t=1686826729; x=1689418729; 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=aIDXI/11BslSskl54h414rVvg2lyuYHt6cU/p8nUA9g=; b=c+yjgpGdQDmhjuZnQbwyxD0bDl3q0M4kNfPSdir/p7LY1WGleDG12sNdYUO7Rb5WlH 03N73vRJzClXVVrzkZo0u1dim3YMGTaAQPixcPL6a0FxZCV9VUpHlth3LUTwwf7q7W37 /iBl5UwPSg2+YwoOnEP/twQHno662NOBmN2fQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686826729; x=1689418729; 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=aIDXI/11BslSskl54h414rVvg2lyuYHt6cU/p8nUA9g=; b=WikVQVG3wcVQnL/fvYJE4U3df1Q8bl0oUce9NsC9n5tQTqzYCjDxoJ++YR+sMSe0h/ ikcmQEHeIaLQkRAlDvZG4GPlBW5uujCPXgfXDS1ypvjczIVp20YMyF/JH3ZIvhBlDzAM 3I5pl7PmyyW4bTnFXRsO2iX69vvyMV9Smq0RrOjLHGbGgqKL6FqxDImnXCS5l4f7B+VL 6fxo7dSvXZtfT5VjsDLEjyq9VJWvxZKo4Gcsz8EoTjdkBla3stilfjjj1REja+m024ER qIKXG36/Pa0Lk8+rt5t45LLd+ewMU7PMYGXvRF41fj7cixwWD7W+pGoDzsh4aKNQlFGs 2SHw== X-Gm-Message-State: AC+VfDwJFOjMPDj/IpbgRVz9UKJWNox7PuVLnXFHlEjc2z/cLh26ksjN k6II7Ol9CzNb5H5V7N8p80jpdA== X-Received: by 2002:a05:6512:398a:b0:4f4:e509:ef56 with SMTP id j10-20020a056512398a00b004f4e509ef56mr1374697lfu.25.1686826729727; Thu, 15 Jun 2023 03:58:49 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id h7-20020ac25967000000b004f13f4ec267sm165364lfp.186.2023.06.15.03.58.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jun 2023 03:58:49 -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 v3 7/8] dt-bindings: rtc: isl12022: add #clock-cells property Date: Thu, 15 Jun 2023 12:58:25 +0200 Message-Id: <20230615105826.411953-8-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230615105826.411953-1-linux@rasmusvillemoes.dk> References: <20230612113059.247275-1-linux@rasmusvillemoes.dk> <20230615105826.411953-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768497125681823641?= X-GMAIL-MSGID: =?utf-8?q?1768767598210268188?= 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 Reviewed-by: Krzysztof Kozlowski --- .../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 3c6c07aaa78f..c2d1441ef273 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,battery-trip-levels-microvolt: description: The battery voltages at which the first alarm and second alarm @@ -33,6 +36,13 @@ required: allOf: - $ref: rtc.yaml# + # If #clock-cells is present, interrupts must not be present + - if: + required: + - '#clock-cells' + then: + properties: + interrupts: false unevaluatedProperties: false