From patchwork Fri Jan 13 10:33:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 43141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp194165wrt; Fri, 13 Jan 2023 02:35:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXvsQ7Jfqxyw5sONYhu2LrHN+zt1mRb5miIabohQ9Gkvitzikyr5cH9bKj1uFdAo6wZlOuDb X-Received: by 2002:a17:907:508:b0:84e:d302:1551 with SMTP id wj8-20020a170907050800b0084ed3021551mr12030621ejb.37.1673606111046; Fri, 13 Jan 2023 02:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673606111; cv=none; d=google.com; s=arc-20160816; b=oL3JabMTWxirvasRvOwBr6+TjlRIRzfUFqJ9yZAShfC5tnGcf1yE2k4KPnOGubHhuj egWCbX3KUx7tBhTXrqLS18e++78BhMcqytWXk4IhzDCYcqB9eBDa3NbL35hirK9YIIKq cX3pC1W69TsTiOaJt4EiFZMTxasg4lGs3efpIN7obX/vESNgiZ68J1l0gEhZspnmVi4x YMWT0Xqsqq4b6ugoTg0aSCbI6sDwRGZkUp31gRuUYSJZwhkyvhCfSD6t/a0LCfFkznId ZNhKGfSPIzv4DdFTOhPojlymNlZEVCtg8jraC0tqfAPaxvAfzBHUPP8pAmyJarEyM+3t C0Rg== 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=lC87lbi3Kix1/WTr6zTXwuAcw9PYl2E9b9lmeuRXx74=; b=tKBrAnOBvHyPEM/1aLkBkeA1kziAtCvDUZpXqlxKfSFknIv50WlEUksU8n05DA11EX G+hSbOig9NMNBEM8eWi2/3QhigSURMZNLqmji1VvKJNlPFCSJqgFsY4bWYhNIb3VPZSU K6ruUIAbJog9323gPilp9ertqSDS2SnLnYcwChvO+p5FVJG96An5Q9czcYjHjdsHBg6X 4B4ai3rb1EH5qTFo9FKpHEdOO34y8RERbFqUYi60NQdCLJDAOhlcCkR1N9Nsi1FIBGlK XM7DLuZi8dszxVHdjonj1q1tAlU59eA144O92tJVHN4odX4MdQwEefK6mY58jUgXbNSE 6M1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iLUQ/VID"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds16-20020a0564021cd000b0049a06a001adsi7007566edb.155.2023.01.13.02.34.46; Fri, 13 Jan 2023 02:35:11 -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="iLUQ/VID"; 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 S240868AbjAMKeJ (ORCPT + 99 others); Fri, 13 Jan 2023 05:34:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240730AbjAMKd5 (ORCPT ); Fri, 13 Jan 2023 05:33:57 -0500 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2550D3C38A for ; Fri, 13 Jan 2023 02:33:56 -0800 (PST) Received: by mail-ej1-x635.google.com with SMTP id az20so32225211ejc.1 for ; Fri, 13 Jan 2023 02:33:56 -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=lC87lbi3Kix1/WTr6zTXwuAcw9PYl2E9b9lmeuRXx74=; b=iLUQ/VIDzCMYYUpP2NCWz1zh2HYJwz/kLaPZjR0ielr/eEO2FL81rphdmYz1Qc6rU1 KP6dWMOcacq6PiX6UyY/yYf3m9AKLefD0KNqcjevL3a9XJKfRNmCUDVaE+Ym5DI1DkW1 0mHVxMTpB6PVADFl9CxY0wOdxUIg56VlP4Kr7EmGBSe9qzxhTfltX0qVcCnnZW2JypOC 5r8kSbFRaUusKALy4DNcoC1DIz7ORfnlmSdqODYpqLgInNKgPhNJlL7iBwIh1NC0DCNW 4syGlTD1GzF+HKpjl0syKTWU4uusJuZ/vdWnDYIf7P7wuJegYXvAhYQgW8RpCznHn39c 9Bcg== 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=lC87lbi3Kix1/WTr6zTXwuAcw9PYl2E9b9lmeuRXx74=; b=OgD+Kbghz3gAN368gO+m/n3CIrIWSSqYPO+hvKElSK87D2J8d1M1dI+Se4lU8U3CYe KZRjugGHqpUWpA6xImdZi+eM4o2xn1HOH+z7AtMghX3IKUsBERVfMdOUxvLF3mM/wy3W AIvAancwNMVO2QQWElPKrKBn0gVhrtk9ziVFqpgtOeUbCoXKCd8oG44tmVCqHUJHsO/w o2783a9yyilFJgwQ6Kis+H/1gNil3G3QXHOuiFhOFWBkCVWB3StPBht+R6t8DZyHWZ68 crBg+n9O2xfzQb6D4LqVLsJAt6ab6VjEAUX206i91dwi4D4h4MqUA5CwuQMKqN9N4+8N zPlA== X-Gm-Message-State: AFqh2kpoSMutAf/WRpwExuQwKQwWc1RTM0p/XRtvVpM0EJu2/LDmomPd gF2CkJyDhEOpc9c4sBefp6PTmQ== X-Received: by 2002:a17:907:d10f:b0:83f:cbfd:31a9 with SMTP id uy15-20020a170907d10f00b0083fcbfd31a9mr62188273ejc.47.1673606035761; Fri, 13 Jan 2023 02:33:55 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id qw25-20020a1709066a1900b007ae1e528390sm8296926ejc.163.2023.01.13.02.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 02:33:55 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Wim Van Sebroeck , Guenter Roeck , Prakash Ranjan , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 3/7] dt-bindings: watchdog: qcom-wdt: fix list of MSM timer compatibles Date: Fri, 13 Jan 2023 11:33:42 +0100 Message-Id: <20230113103346.29381-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230113103346.29381-1-krzysztof.kozlowski@linaro.org> References: <20230113103346.29381-1-krzysztof.kozlowski@linaro.org> 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 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?1754903201377763888?= X-GMAIL-MSGID: =?utf-8?q?1754903201377763888?= The MSM timer ("qcom,msm-timer") is a bit different timer and watchdog device than KPSS watchdog. It has its own generic and specific compatibles, so fix the list to reflect this. Adjust the example to show the newer KPSS watchdog. Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring Reviewed-by: Guenter Roeck --- Changes since v1: 1. Add tag. --- .../devicetree/bindings/watchdog/qcom-wdt.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml index 3e0b30a817d6..93e4381067dd 100644 --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml @@ -33,13 +33,16 @@ properties: - const: qcom,kpss-wdt - const: qcom,kpss-wdt deprecated: true + - items: + - const: qcom,scss-timer + - const: qcom,msm-timer - items: - enum: - - qcom,kpss-timer - qcom,kpss-wdt-apq8064 - qcom,kpss-wdt-ipq8064 - qcom,kpss-wdt-msm8960 - - qcom,scss-timer + - const: qcom,kpss-timer + - const: qcom,msm-timer reg: maxItems: 1 @@ -56,9 +59,11 @@ unevaluatedProperties: false examples: - | - watchdog@208a038 { - compatible = "qcom,kpss-wdt-ipq8064"; - reg = <0x0208a038 0x40>; + #include + + watchdog@17c10000 { + compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt"; + reg = <0x17c10000 0x1000>; clocks = <&sleep_clk>; timeout-sec = <10>; };