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.7 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 02EDFC54E4A for ; Mon, 11 May 2020 21:47:35 +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 C59782070B for ; Mon, 11 May 2020 21:47:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="i9NZ3k7l" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C59782070B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Be+j49TJV/b3dtwpJhJIAZWjDPt52JmVvJJgIpIE4gA=; b=i9NZ3k7lv1/tQ0 hXXvTTDPTnZ9DPFGCNaBrg5SS7R1WHdzBCtkX4mrxObxU0Z9zzeuqE1EDB11iJ7MvwdAOBzc4p3C3 6IBwwTvEodzu01cMdRJV9ghcuck/vKjrIwNoINoeCli3tnoQ6quTnKCQl90rRuGA1dhQY55AKv6L5 BZKNJfK7hvu/eS5C7qCMMK16sAxwrCoQ1rGZCFkOPZb5nBo2jQBR2GhfpRFulEJz37vxfKlCVIRR2 dDMGu3VxZfVtKaOnMxhx70XtqhXXPcwr1c9MRL1bCI9P8D1qSs7HaEizZZd/HsnqAVzRbQvduKlap Inh4ZT4anv2oDjEvmL+g==; 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 1jYGGs-0001bx-Bo; Mon, 11 May 2020 21:47:34 +0000 Received: from mail-ot1-f68.google.com ([209.85.210.68]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYGGp-0001bZ-3M; Mon, 11 May 2020 21:47:32 +0000 Received: by mail-ot1-f68.google.com with SMTP id j4so8843889otr.11; 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=Xh1qjpH3tGwd8Jauje/t3h+e8tNY/YyrAbLLHq9PyL9frA2lDZ6hXKGNHP4Sx2E80C FvIs6pJPNk/oich5HOIpr7KJ6CvvYGPZPciJunPEm3y55YgT3wA38knynQin2ceemZr4 /DYWSv3CFQUxToU1p6w38osfH/3bmQ8S35/nbQ38Dl9s881i8SXF8TxXrPHPM+9emeEb f60rfLhpYwLuPAGObvfswmV5ou29YTfQmQuEABaLcAA8UlM5n4hewn+gXldiA/GNP9Nd /35MnGZL4vQKKH3GewGP62F6KBEyP9R5brZKKLRf8i7vEbM3PjcWaJy0h39HmueU0GNJ o96w== X-Gm-Message-State: AGi0PubjIFfGSZh9ogdqCEV3iPByNOueuOXkp04j3O7uC+TcjdL1MAf2 9U4uHrt4i7pmT98ONf0lRw== 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200511_144731_142293_E61D2996 X-CRM114-Status: GOOD ( 17.85 ) 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, Tim Gover , Dave Stevenson , Stephen Boyd , Michael Turquette , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-clk@vger.kernel.org, Eric Anholt , 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 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel