From patchwork Sun Feb 7 23:12:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 12073501 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=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 4A3BDC433DB for ; Sun, 7 Feb 2021 23:13:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 DFBB364E32 for ; Sun, 7 Feb 2021 23:13:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DFBB364E32 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=wdc.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hQqmwUGTRtLWJ/g8j/lY8xYgjNeH8yAgWBiPvspHh6s=; b=3c3iiRjrhfvSSolloG/NO8lrB JX1fHzYJuqA2qZVEED98gIcwKVl0mhj6XvVmIrZuQ6OMHxkDaRMGJheLIO9bNlX7Qclik9JnYkZVZ s3QPr4WTjQBNLV/0ltc72ubPJrdIRo5etnpKjwNiOyGyTFWy0hAj04KdEpT/zVJghvXl1YNUrUxhy cvTyaX2uZVQSvCMFM3/vj4r0yHbtTjfMqX/6KKjaEDoj/TEWkuqUfdwIaYNtHiEQFmuGBdm/3EHii vinT4EPJPQeHK2DMhkCv4rhZfzP1m29XjorN2mcGCfC2WASeegwQRX516JDbUAK5vU+Mi+8J1R/y7 YXxRARRbg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8tF1-0006TB-KS; Sun, 07 Feb 2021 23:13:19 +0000 Received: from esa3.hgst.iphmx.com ([216.71.153.141]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l8tEx-0006R3-F3 for linux-riscv@lists.infradead.org; Sun, 07 Feb 2021 23:13:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1612739595; x=1644275595; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=CdDSnYoUg4x8z9E5kd8zeW/UQhTCXdRY19IDHVs+Ulg=; b=UhXeCfZDbvdbfwEnP94LqikIGiQAcWqODgqIC6Ti3Jp992RlaM9XVawZ 4QkEJNIXg3W/bKmgmJJCVv94tkR8LhjPLi/fVRpM1BwCuwNASfTV5CkAZ ta0lli+Jwo11/k31ChLrnitJac7bVMsffTdK8rDOkw5FrsodlKG1xwo2D q3OqxkFz9QgGh6ULW7USCuyHwF5reERIaQFkYoxAEBOHVNChqOgNrTxGG cpjN5qekrzPDs5CgaEAdqhM5vFlS6zOYub7Aip9UkEygJX35/gCx6i300 SCw8Qk6//8U8YHqFVNC2TsLYXdkFcWVmOKZvMcNw8dGshZuO04LZpXT/8 A==; IronPort-SDR: 8ZIgBo/ae51pNOKJ9qbyjfImlnrX/Uka68lA+0wFIL5y6ICta1OWxoEu8wktBVKl87DbHB1lpJ FCYqvGqEerm78J2PCjQUOQG/8lY1oPP8KpfPHrR0NnYDh71c6s/0vOvk0EBlfbfvd3w0ZKJRmL cWeTD9AG2qTTUJcJHuLmhaGBIbaxb5oUNqgwR3Bvdz1BCN51kf06qng9z5rG1cBvjHkIsPyxv4 m99w39DeQkVI8sz2ZAiSluEdQUDDmL8aPFAzofjaHZFOL5y0/7f1ELFxpZWzWOFTXZLHudO2Xg LBw= X-IronPort-AV: E=Sophos;i="5.81,160,1610380800"; d="scan'208";a="163861269" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 08 Feb 2021 07:13:14 +0800 IronPort-SDR: 46LlAkSlhE5cjiyRkEOa+xFi8Bv/86ca7Rooh2ZUtMJYFTR7exB/0Vw++Qvt2+9lW8ev/cHO/C nOK115kzZiLqeGE3ehnikEnh80BsxiIfWn71bsUNYMzNuC51xeZlepmIva5yDaur8rlUtfnj18 WH4qHBCusrDfiBZ8kKkroBUTlPcvFMJ38f0BXqJmG5dSfvXi8uVgfcnVo1mRsHsk6kEtNsfoIw fzigvs5lGFc7L0/+sCmx5XbdNFJDs6oD/Cxd77sDwBU/2Ag17HBSv/jqjVpwP4lIpo7U50feU2 rR2i/UoBBxJNLu1RPnXSWidS Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2021 14:55:10 -0800 IronPort-SDR: GO2Nb81Njuh7n8ZTGXQj1eZ804q2giD54zoHuEOC4VFCegqvcqGZNgcgc3fHio+ZKi9oyU7iXP sqSnlxF06raz9BI9t6r9Ux57PhATuSm4GAXwXtoSRDDP6kDFRn164auqM1UCIPxYHVmBDnbT7j FoEeMU1Bmy+ZBSwJ/xAa0KcFY7+h3y1w7W/DoOdflNCYJzXECFh/Lj0OUMVXOPRdEH9o/3gEg3 q8VpCTAaA2EPqx75+dB7SX9NAwoKjFuT9/IUIAQOW55A6lBCwlgJda1cLotFekd3gDGGWLNef2 E5Q= WDCIronportException: Internal Received: from phd004806.ad.shared (HELO twashi.fujisawa.hgst.com) ([10.84.71.69]) by uls-op-cesaip02.wdc.com with ESMTP; 07 Feb 2021 15:13:14 -0800 From: Damien Le Moal To: Palmer Dabbelt , linux-riscv@lists.infradead.org Subject: [PATCH v17 08/16] dt-bindings: add resets property to dw-apb-timer Date: Mon, 8 Feb 2021 08:12:48 +0900 Message-Id: <20210207231256.115130-9-damien.lemoal@wdc.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210207231256.115130-1-damien.lemoal@wdc.com> References: <20210207231256.115130-1-damien.lemoal@wdc.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210207_181315_684436_079F7E2E X-CRM114-Status: GOOD ( 10.33 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Daniel Lezcano , devicetree@vger.kernel.org, Anup Patel , Sean Anderson , Atish Patra Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org The Synopsis DesignWare APB timer driver (drivers/clocksource/dw_apb_timer_of.c) indirectly uses the resets property of its node as it executes the function of_reset_control_get(). Make sure that this property is documented in timer/snps,dw-apb-timer.yaml to avoid make dtbs_check warnings. Cc: Daniel Lezcano Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Damien Le Moal Reviewed-by: Atish Patra Acked-by: Rob Herring --- Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml index d65faf289a83..d33c9205a909 100644 --- a/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml +++ b/Documentation/devicetree/bindings/timer/snps,dw-apb-timer.yaml @@ -24,6 +24,9 @@ properties: interrupts: maxItems: 1 + resets: + maxItems: 1 + clocks: minItems: 1 items: