From patchwork Sat Oct 17 15:38:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 11842847 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=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 30A7AC43457 for ; Sat, 17 Oct 2020 15:41:16 +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 CA7BC2074A for ; Sat, 17 Oct 2020 15:41:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RBQdZ3xO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="V+07PWg7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CA7BC2074A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=nwZ/RtaQBmYJY0d/43NJJhTkWP3UQ70mlF7I9FwJtYk=; b=RBQdZ3xONWPGMKeKx9iDBnHWXv JEapgZyqdXqDJwAy/Yz9HWhpjw09dcMjNQsKuyNPjrylco2ndL9ngTFJ0vR9vIkclvKFr1KvHV0iU x1cnK0bhkXR+XsPMpOPNtBNUcbb7DkPFMHgXGSMJA3k8KzghMDZOwGwD6gQhQsfuxFGfSEBg8t9ob yfWyGBuGLIjLaCptS725rw++TpIuywlX6jUfstxGGjo6cyvzzK72WRlXASR2E0d8MGxxCfCvbVhKj 6VMIYaOkv8s79sYCQ1QF/gDshIw6OdyIvUv/46JIJyNsbLnjtCrqDHE0gImZqwLx+zXlhcVIf1sHc 5d8oTQkg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kToIV-0003K6-CF; Sat, 17 Oct 2020 15:39:07 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kToIS-0003Ix-1B for linux-arm-kernel@lists.infradead.org; Sat, 17 Oct 2020 15:39:04 +0000 Received: by mail-wr1-x441.google.com with SMTP id x7so6771318wrl.3 for ; Sat, 17 Oct 2020 08:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S57koDeKUk9PDAYgtgQlZSy1LTrQ6sM1ZV8HODyjnuA=; b=V+07PWg7E3zcry2NI5Zrheb2Mam1kkLOYXJjko6l7ewkCpiSMFtjAMYK4i05qeUe+C n6Qi4SZ15TwwJHmm+V+QBYzoJb2cyQV3v3Q6Po4sW8dz3vLmfzros9JiQlFmIqCYYSyp hO69nJ+8GSt5elCZZMtUH1gqK9/lv0wGWQGDYuVygdPNABZEJQleNy0vpA9F3Jwc0/mS DBqo8fJ2QBn4uU/MqBHjrY36GuA5WJsXaaJC45RgfIdN1Liik3bI0goeN9Zv0PDSoPp8 /PG9Vdyu6GV8OoBJyPtjFIeddef3oQbAYZqzgh89zXuikTma0a7CTiwawBsLPTTOFpjx 39xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S57koDeKUk9PDAYgtgQlZSy1LTrQ6sM1ZV8HODyjnuA=; b=iuL9XYPx02OeCN7q6laXcnvNNqen4ukFBpaJPeqTe2NoHv/2DEdnC28ourZ1VfmkzK C2oc9Qc3ifc9tfgD1sU1UpoBkc6mGNvlkAuGY0Ofo8GIvnTWLe2GV2q1UNBtiktGMor5 zS2zE6up3DoISjXT+dACQsHD1mUHZB8YY0b3KhB8ITFiiG5xFHKWzfpNFDkKQ5dVBwSK SZeV+2wiLPpOxpx3EIF1HZSLVBF3D05UKWRZfludETtHqSqxY72b4ovibLNTcfoKC9E3 GMqMzfpr7YheNX1i3lVKthlFDuJXI8dUO9tMoiNqQn+W30AaIixrNCIRqwUJm8eCR0EI fWsg== X-Gm-Message-State: AOAM530xj8qDRongGwz3zumAWc+pKg8jNAxF1S+eevqxAKyf2CiDCzdl Cm/HoRH3i7tDbLOjWLD+RoxcPA== X-Google-Smtp-Source: ABdhPJxaLOFBPxlbBFHRog+7C5BOZDHcTEDwnCef2nkMVMHZV6tTMIEHAy9lHwGxGrVbgIdZBSUfjA== X-Received: by 2002:adf:bbca:: with SMTP id z10mr11255586wrg.403.1602949141476; Sat, 17 Oct 2020 08:39:01 -0700 (PDT) Received: from localhost.localdomain (159.171.185.81.rev.sfr.net. [81.185.171.159]) by smtp.gmail.com with ESMTPSA id n66sm7654953wmb.35.2020.10.17.08.38.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 08:39:00 -0700 (PDT) From: Fabien Parent To: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: timer: mtk-timer: add optional 13m and bus clock Date: Sat, 17 Oct 2020 17:38:56 +0200 Message-Id: <20201017153857.2494845-1-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201017_113904_091556_CF8A3D94 X-CRM114-Status: GOOD ( 11.01 ) 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: matthias.bgg@gmail.com, Fabien Parent , tglx@linutronix.de, robh+dt@kernel.org, daniel.lezcano@linaro.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The timer IP on MT8516 requires two clocks to be enabled. Add both clocks. Signed-off-by: Fabien Parent Acked-by: Rob Herring --- .../devicetree/bindings/timer/mediatek,mtk-timer.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt index 690a9c0966ac..3f9bfd246f19 100644 --- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt @@ -29,6 +29,11 @@ Required properties: - reg: Should contain location and length for timer register. - clocks: Should contain system clock. +Optional properties: +- clock-names: May contain: + * "clk13m": 13MHz clock system clock + * "bus": Bus clock + Examples: timer@10008000 {