From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE171C33CAB for ; Mon, 13 Jan 2020 05:49:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8BD9A21744 for ; Mon, 13 Jan 2020 05:49:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DCeKRyXj"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="GWV5fF2B" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8BD9A21744 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FpsbJT/vcNIt4nyZtpstmnCzSW4PKM0KAnJhhgV/R5k=; b=DCeKRyXjwCeF1CiTOJSsW4zDl GoBdE3Tkimk7VNoOMgalTHzBEBCbhPTf8rt+dPGODFRaSctrDneEFo81/wPNg5GTyv3dGDdOaisli V5bYWLo47U92PAISJJTNMivg9Rp7lv+aHC92zAHv71OfImp0AmlEJ+dCNTS1FO763ugVSAO72txjN MpBLEDO2FusHaj1JS6/hoTTV9G/jt8cUQ4rJt3bRR8++eQLGhxuDUt+ZbRs2Wd4YeTqe5g3BcqS7J bxC8I3hTCIqrIgBD9jUPZOkceu0ClAE3/Kqv/gTQD3l7dXzQJYJ1P24u9YLF1/eP4Ry+ajZ28pJnN 08u8qvEgw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iqsbK-00006H-4W; Mon, 13 Jan 2020 05:49:22 +0000 Received: from mail25.static.mailgun.info ([104.130.122.25]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iqsbG-0008CN-1I for linux-arm-kernel@lists.infradead.org; Mon, 13 Jan 2020 05:49:20 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1578894557; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=Y6MzJykOUHgXTHH7mFFwvvjU0SWSAQVmVXjDkrqruY8=; b=GWV5fF2BhHfRyxqgQxogZW027ppQ3mdAl637spLP9tOUMWluVXgGq5YGs9wVX1ovyyzFusBO nW4shx23y3bApT6t/eDwAcfJ/R+PkMfhgQSR7zHB+SiPCsyzJ3oPJPrYx9ZMHpatv/dYrZuA l0sVGmegTjNAHCmhz/auKYfkVxI= X-Mailgun-Sending-Ip: 104.130.122.25 X-Mailgun-Sid: WyJiYzAxZiIsICJsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e1c04dd.7f3c70871998-smtp-out-n03; Mon, 13 Jan 2020 05:49:17 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 420B3C4479C; Mon, 13 Jan 2020 05:49:17 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id 99864C43383; Mon, 13 Jan 2020 05:49:16 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 13 Jan 2020 11:19:16 +0530 From: Sai Prakash Ranjan To: Rob Herring Subject: Re: [PATCH 1/3] dt-bindings: watchdog: Convert QCOM watchdog timer bindings to YAML In-Reply-To: <20191219232615.GA22811@bogus> References: <0b095b65496073a2ddf9de120f7809619b42cd1c.1576211720.git.saiprakash.ranjan@codeaurora.org> <20191219232615.GA22811@bogus> Message-ID: <1602b7831356274792ce5a84fb44d701@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200112_214918_862878_365FAE02 X-CRM114-Status: GOOD ( 16.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm-owner@vger.kernel.org, linux-kernel@vger.kernel.org, Douglas Anderson , Stephen Boyd , Andy Gross , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Matthias Kaehlcke , Guenter Roeck Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2019-12-20 04:56, Rob Herring wrote: > On Fri, Dec 13, 2019 at 10:23:18AM +0530, Sai Prakash Ranjan wrote: >> Convert QCOM watchdog timer bindings to DT schema format using >> json-schema. >> >> Signed-off-by: Sai Prakash Ranjan >> --- >> .../devicetree/bindings/watchdog/qcom-wdt.txt | 28 ----------- >> .../bindings/watchdog/qcom-wdt.yaml | 47 >> +++++++++++++++++++ >> 2 files changed, 47 insertions(+), 28 deletions(-) >> delete mode 100644 >> Documentation/devicetree/bindings/watchdog/qcom-wdt.txt >> create mode 100644 >> Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml > > >> diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml >> b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml >> new file mode 100644 >> index 000000000000..4a42f4261322 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml >> @@ -0,0 +1,47 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: "http://devicetree.org/schemas/watchdog/qcom-wdt.yaml#" >> +$schema: "http://devicetree.org/meta-schemas/core.yaml#" >> + >> +title: Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer >> + >> +maintainers: >> + - Andy Gross >> + >> +properties: >> + compatible: >> + oneOf: >> + - const: qcom,kpss-timer >> + - const: qcom,kpss-wdt >> + - const: qcom,kpss-wdt-apq8064 >> + - const: qcom,kpss-wdt-ipq4019 >> + - const: qcom,kpss-wdt-ipq8064 >> + - const: qcom,kpss-wdt-msm8960 >> + - const: qcom,scss-timer > > An 'enum' is better than oneOf+const. > Will change. >> + >> + reg: >> + maxItems: 1 >> + >> + clocks: >> + maxItems: 1 >> + >> + timeout-sec: >> + $ref: /schemas/types.yaml#/definitions/uint32 >> + description: >> + Contains the watchdog timeout in seconds. If unset, the >> + default timeout is 30 seconds. > > Include watchdog.yaml and don't redefine this. > Ok >> + >> +required: >> + - compatible >> + - reg >> + - clocks >> + >> +examples: >> + - | >> + watchdog@208a038 { >> + compatible = "qcom,kpss-wdt-ipq8064"; >> + reg = <0x0208a038 0x40>; >> + clocks = <&sleep_clk>; >> + timeout-sec = <10>; >> + }; >> --- >> >> I have added Andy as the maintainer here since the get_maintainer >> script >> showed him. If he is not happy, then I can change it to Bjorn probably >> and >> again if he is not happy ;-) then I will add myself or whoever they >> suggest. > > Add yourself. > Sure will add myself. Thanks, Sai -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel