From patchwork Mon Jan 30 13:43:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 648716 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BDB1C54EAA for ; Mon, 30 Jan 2023 13:43:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235587AbjA3Nne (ORCPT ); Mon, 30 Jan 2023 08:43:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235545AbjA3Nnd (ORCPT ); Mon, 30 Jan 2023 08:43:33 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42B231423F for ; Mon, 30 Jan 2023 05:43:32 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id j29-20020a05600c1c1d00b003dc52fed235so2625343wms.1 for ; Mon, 30 Jan 2023 05:43:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0dzAvNhqbLHD8Qqr5U4HkMhu9d4Ko8KZtdb+p3yzQqo=; b=r3+O9ok547RbwEpeaTLhkg2nhQik6ojXy+fTq+Mnx7azfKGPocnjWfqHgTANTMmRRi Ga7BrBfT6JMqxyyLMGSRQGNZWeS/0obKNdiOuurdTQfR+4PLPos4/1ZQ7Lrt6uEn6siU mXpsUovrCJCA6CmoF6tql2U5NHvmyJxWbUQtFpIa1/YnhFNS9efyClfxEwebL08zPvOw SExuyJGXGdar9XV2X8crhizmga9Wi/Mh0H1rRXTsBeOkK2Qsnk+qHb0V1vVsQYGpWtLx vAwsDI3vaM0mJSi6vBtY+oyJKFvojk84NRYYDuVRU4DAqvyl5WGPE3dT9ddYNJc4hv2j d0og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0dzAvNhqbLHD8Qqr5U4HkMhu9d4Ko8KZtdb+p3yzQqo=; b=ncIha090RC8awxDzrcOcRuf/giTenM3QY5nl3ULfn3zHXGDpCD3c+9GxyT2en6Wy+K QNbEqtzAOPwshZiYIL4AkfpUfVjCLTtE1sCGBKouFij4Q1VjdlUtFC6bdW2r79pm+GBw rGVB6EW5I1QH2FJCO17ElMBBQMMto2CsN/kQ+8FEI8hcqtKESL9Khj1TIyvph3APPcKG XS7mI2PjrtDtOAFs2crhyBA9LszfryD5YWphW9xA17YCBzz61V44fcv/8FqWSGxD1FSH Lq7819jHtn7VZss+lLe6xmhMlyh7FAdJqRSuwfUn55UKPL1UWXw8USxgz0CXkb4JtPv2 T11w== X-Gm-Message-State: AO0yUKXCFvIs0ud+5k+Wf+V3Cs5Qnh6zluJfoeDxGAKsTOkJM1Yuqz5n R6gdlmiKgbkgDJqj0wbvnzHoCw== X-Google-Smtp-Source: AK7set97xlKmmDBvKPBmRQ17fPHhyiyadsOAAP+bSHsQR+a7netx9q1OsYsNQSaB7yg2FcxInSshMQ== X-Received: by 2002:a05:600c:3545:b0:3dd:1ac2:989 with SMTP id i5-20020a05600c354500b003dd1ac20989mr256851wmq.39.1675086210825; Mon, 30 Jan 2023 05:43:30 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:b9a5:a1fe:d3ab:6b40]) by smtp.gmail.com with ESMTPSA id g12-20020a05600c310c00b003db012d49b7sm27403410wmo.2.2023.01.30.05.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 05:43:30 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH] dt-bindings: watchdog: qcom-wdt: add the interrupts property Date: Mon, 30 Jan 2023 14:43:28 +0100 Message-Id: <20230130134328.178591-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski The interrupts property is used in all nodes using this binding but not defined in the document itself - hence dtbs_check fails for them. Add the property and update the example. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/watchdog/qcom-wdt.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 27fb484d5f8d..45940d643b92 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -46,6 +46,10 @@ properties: clocks: maxItems: 1 + interrupts: + minItems: 1 + maxItems: 5 + required: - compatible - reg @@ -55,9 +59,16 @@ unevaluatedProperties: false examples: - | + #include + watchdog@208a038 { compatible = "qcom,kpss-wdt-ipq8064"; reg = <0x0208a038 0x40>; clocks = <&sleep_clk>; timeout-sec = <10>; + interrupts = , + , + , + , + ; };