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=-8.5 required=3.0 tests=INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 AF09CC54E8F for ; Mon, 11 May 2020 21:47:32 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 8C21820752 for ; Mon, 11 May 2020 21:47:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C21820752 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0DAC96E5A2; Mon, 11 May 2020 21:47:32 +0000 (UTC) Received: from mail-ot1-f67.google.com (mail-ot1-f67.google.com [209.85.210.67]) by gabe.freedesktop.org (Postfix) with ESMTPS id E8D926E5A2 for ; Mon, 11 May 2020 21:47:30 +0000 (UTC) Received: by mail-ot1-f67.google.com with SMTP id k110so8875188otc.2 for ; Mon, 11 May 2020 14:47:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Kr536AH92tCs886e1ZVZycHlp8zzTbbAYS9sSy9+r90=; b=e0yFk21iix3dRW+gRpBeesWqrDjGwUz3Xo+9VWwLIkEEvkH4i2rjZfKLRZfDaD36NH H/nhvIPQiLltfwLJqGgUMhTHTqukrbm3TrQigw0WVtIThgxoKzhsBaVnlgBWD+2L792H zCDiGoMAEA2oP0zeHJjJdk/iSMldK9GYEC1jWxmTPoSQbPHFQaObh6R8WDGK8OvFLAR6 Qs1Q2pCxRnEacAw8Vs/JbsuBi0rzlVgOByffMQQNiN/hI6fPBX6HBu41zI3C6ToMfpRD wE3z037aHlxkmvqY7q99/lBt7UfOl1mOIcMWnHbLFqc5u5PyENMhzvR5VhYqfmH2qz+m rqvA== X-Gm-Message-State: AGi0PuaelZll+uEWf7LmwoWgXvyPRqA6OffJRmJt5xSRJEbHs1WtGSp1 m6GNNzxlLxN7Vo6AUAi2yg== X-Google-Smtp-Source: APiQypL9c25jA4qb587PTmaLEbxVx0mD5FwZCOgGZkDio2qGfy6/FFbMg2/4qBhezaAEnuubpNLpxA== X-Received: by 2002:a9d:6c94:: with SMTP id c20mr14832489otr.318.1589233650111; Mon, 11 May 2020 14:47:30 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id l187sm4956929oig.0.2020.05.11.14.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 14:47:29 -0700 (PDT) Received: (nullmailer pid 4611 invoked by uid 1000); Mon, 11 May 2020 21:47:27 -0000 Date: Mon, 11 May 2020 16:47:27 -0500 From: Rob Herring To: Maxime Ripard Subject: Re: [PATCH v2 03/91] dt-bindings: clock: Add a binding for the RPi Firmware clocks Message-ID: <20200511214727.GA20924@bogus> References: <69e869b0a79ea17f2cdb79df986409963672495a.1587742492.git-series.maxime@cerno.tech> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <69e869b0a79ea17f2cdb79df986409963672495a.1587742492.git-series.maxime@cerno.tech> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Tim Gover , Dave Stevenson , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Nicolas Saenz Julienne , Phil Elwell , linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, Apr 24, 2020 at 05:33:44PM +0200, Maxime Ripard wrote: > The firmware running on the RPi VideoCore can be used to discover and > change the various clocks running in the BCM2711. Since devices will > need to use them through the DT, let's add a pretty simple binding. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: Rob Herring > Cc: linux-clk@vger.kernel.org > Cc: devicetree@vger.kernel.org > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml > index cec540c052b6..b48ed875eb8e 100644 > --- a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml > +++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml > @@ -22,6 +22,25 @@ properties: > Phandle to the firmware device's Mailbox. > (See: ../mailbox/mailbox.txt for more information) > > + clocks: > + type: object > + > + properties: > + compatible: > + const: raspberrypi,firmware-clocks > + > + "#clock-cells": > + const: 1 > + description: > > + The argument is the ID of the clocks contained by the > + firmware messages. Not really any reason to make this a child node. The parent can be a clock provider. > + > + required: > + - compatible > + - "#clock-cells" > + > + additionalProperties: false > + > required: > - compatible > - mboxes > @@ -31,5 +50,10 @@ examples: > firmware { > compatible = "raspberrypi,bcm2835-firmware", "simple-bus"; > mboxes = <&mailbox>; > + > + firmware_clocks: clocks { > + compatible = "raspberrypi,firmware-clocks"; > + #clock-cells = <1>; > + }; > }; > ... > -- > git-series 0.9.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel