Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7023656rwb; Mon, 12 Dec 2022 09:07:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf7BPOl7Zy235bVpNKUt5zOLpMO6ANOdsUeUAu59kU6RFGVwMihTld0VbS7WR6VUOiaFHbsg X-Received: by 2002:aa7:c9c7:0:b0:461:2030:71ce with SMTP id i7-20020aa7c9c7000000b00461203071cemr14456671edt.30.1670864866647; Mon, 12 Dec 2022 09:07:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670864866; cv=none; d=google.com; s=arc-20160816; b=k5oj0s3JRePaa6SWpdr8TtLE7CgUSKW6dRFt5XU7Q1vAWTBWPGjc8utO09NNzh+I1Z 1X4KTYQCBEKWf1U68iNL8JBSp9qPlFlKXgQuqOX9PS9W//YUkdHx1HW3Sj5OqnE7ZjGc nuHSnWHeFo4jSkqVmdjbf2BGMe0VIQOc7fb2HcMxqNfDNaDEL5azAGg2bXYYz95kHwrP 8jt1l86FTuHIiAOOT+DxKL4/vtbfD+kL9AG2jIId2/Z4PSnXOEbubfnAAMJVulew6HwF BqVMA36M2wSiA8FUUUQCB9il7bG/kYQu2It/0gsRXnK2sVZwOtWkK2sTX6Ybssaa8fTH bVng== 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=5MhRmIwqiimhM0hU/ny7BJCiWCN3HyB8MyrfD6CbYtU=; b=aEzl/+79lKyKE2QxSdz0o3PjbWbvP44g/7m91CrnSPIPvft2SGiUhuSOnwBswULa2K iG/yjt5jti4lBqiathhBRRohMDOrLTIyMO3DY99UfDYp6vT0RxTCAywqTlpHw7lhwU64 ZD4rh8Btfu6MkXBw78AOH5oGCBp0qW8u8NTCnYL0cf2U3pMlVErzKzEJ9vebU4If2xGk IRdk+rImMtbzLgDekgKNLfizsdvqLrsSkBdwQU9cuEWGHkJvuxP6oDkAlKITBkli1Jyp QpeeyUJ+FIsXoaExNF80CPHiwj/jY9+4o/YvheVnfsFW+kV7LiC8V35NApW3wnnjokps GkJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uy4HgYN0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020a056402090c00b00463d1e263b1si9026735edz.364.2022.12.12.09.07.23; Mon, 12 Dec 2022 09:07:46 -0800 (PST) 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=@linaro.org header.s=google header.b=uy4HgYN0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232673AbiLLQgI (ORCPT + 74 others); Mon, 12 Dec 2022 11:36:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232492AbiLLQfu (ORCPT ); Mon, 12 Dec 2022 11:35:50 -0500 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AFFBD136 for ; Mon, 12 Dec 2022 08:35:46 -0800 (PST) Received: by mail-lf1-x135.google.com with SMTP id b3so342570lfv.2 for ; Mon, 12 Dec 2022 08:35:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=5MhRmIwqiimhM0hU/ny7BJCiWCN3HyB8MyrfD6CbYtU=; b=uy4HgYN0uRqGM8cMy+QL9myXVpoeWEZwaz+wMUd35PefJkG61oUwRDGQ5dQ1NN0HGN iZihOU2+Udx63EJFwskcjgxYeYc3GYm8St6tuYPwQt4oi3fERQMpyD+DZ+1mKOiZLceu i/FfCOh3gdA2PNG3+NKtB409cv+QK1M0rSoOdI2zLVs1Xfs7OfOUrAuJhkLj0osEPBic 4kytn0LBtPg750TmgeTEsSi5eFrT/r9iFvIMYMF6lH8RG5QJuiyNHTtaGLHBPwH8MOOP n2gibzRWaN+qj0uhfKG4szZ5pQNIWl6/auFMAvXD89+XB/6JRv1AN4lPdTcg4x+obRCd 8vRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=5MhRmIwqiimhM0hU/ny7BJCiWCN3HyB8MyrfD6CbYtU=; b=SX55LTE3RakU38OZhjFUzEiNRUHt/E81IzIWGsz0oToKiCyI2oCdzcxOgQcewNNXaX QKtMq8gk6Ys4XtuBiFAOnDWyRl0I4NM+fX29ePJLb/gD2aIQ//UsE8wStj+zAZlHdryZ wTJn4BH1iwnPcNzUQU/dgq3Q/X2OOq1UUKVbDqsnz/d7xyHLxrF+aWddRfvQCU9l+JXm 8gkXYiYSxPUy/IuYf++5i+AsWuxcurjo8xXoWwoXv8JgOUxwXsbzRw311zKd4LKqx+j3 cIrg77Xa3ayGGp7WAwsyrfkwArLuteJDhcTwDnJXLOVUSyXg4vuriVsIxvfPhNuTHfyI VPag== X-Gm-Message-State: ANoB5pnh95fyIQklobPxshlSIq1opjlYdHn/R4D++fk+FtmZYiF9561H 6DZhbYta4k6mUkQJAgye/ogatA== X-Received: by 2002:a19:5513:0:b0:4b5:5ddc:da32 with SMTP id n19-20020a195513000000b004b55ddcda32mr3873335lfe.56.1670862942224; Mon, 12 Dec 2022 08:35:42 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id v16-20020ac25b10000000b004acff58a951sm29209lfn.133.2022.12.12.08.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 08:35:41 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Prakash Ranjan Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/12] dt-bindings: watchdog: qcom-wdt: allow interrupts Date: Mon, 12 Dec 2022 17:35:25 +0100 Message-Id: <20221212163532.142533-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221212163532.142533-1-krzysztof.kozlowski@linaro.org> References: <20221212163532.142533-1-krzysztof.kozlowski@linaro.org> 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 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 Both of type of watchdogs described in the binding (the KPSS watchdog and APSS WDT timer) have interrupts. Allow interrupts and describe them for KPSS watchdog to fix warnings like: watchdog@17c10000: Unevaluated properties are not allowed ('interrupts' was unexpected) Signed-off-by: Krzysztof Kozlowski --- .../bindings/watchdog/qcom-wdt.yaml | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 1828eaf70b3b..b7fc57f4800e 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -9,9 +9,6 @@ title: Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer maintainers: - Sai Prakash Ranjan -allOf: - - $ref: watchdog.yaml# - properties: compatible: oneOf: @@ -51,11 +48,31 @@ properties: clocks: maxItems: 1 + interrupts: + minItems: 1 + maxItems: 5 + required: - compatible - reg - clocks +allOf: + - $ref: watchdog.yaml# + + - if: + properties: + compatible: + contains: + const: qcom,kpss-wdt + then: + properties: + interrupts: + minItems: 1 + items: + - description: Bark + - description: Bite + unevaluatedProperties: false examples: @@ -66,5 +83,6 @@ examples: compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt"; reg = <0x17c10000 0x1000>; clocks = <&sleep_clk>; + interrupts = ; timeout-sec = <10>; }; -- 2.34.1