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: 648872 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 9D866C54EED for ; Mon, 30 Jan 2023 13:43:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233324AbjA3Nnf (ORCPT ); Mon, 30 Jan 2023 08:43:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235731AbjA3Nne (ORCPT ); Mon, 30 Jan 2023 08:43:34 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4672D15552 for ; Mon, 30 Jan 2023 05:43:32 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id l41-20020a05600c1d2900b003daf986faaeso8178604wms.3 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=lP0vjDOYVs8i7Xwmez5s5NDFeW27R+htoTpc1BG+/Wf97JGCpJUo0WhcQmEFkrMi3J LBkJESLGBjwuhpY6chHZn+tAyoeqifDU2BsTQZnCQ9D61G5sHHqlbqTqgyufieFCUEPg iJ09q5DRD90yvLDKVFyYF2xNx1ylCMNW9M66tkbQhohkyd2pCgC7zJlpfpA6TeQLVAGY cBAkK6Q7F1Y4fzZDpSkPKnJwfwINXzNwoCT3JkuixH1k/pB2uf8C+Ryo0ZvWCn950RFy FYAlzaK6OX2rr5PzUzjbAWMx2NdYOjLKdpqExjC6ZfTZOS9GWHKlBEGlFNVCD2u8gzhU CJqw== X-Gm-Message-State: AO0yUKUydrtiNdPgufzgxunSaGF4u669OwICNqK3M2otF1E7PlvektMX 1If9E2RLK7O9lzihPmMqkF2HvA== 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-pm@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 = , + , + , + , + ; };