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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8A013C433F5 for ; Mon, 29 Nov 2021 22:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=ApzuLCIEu4iqGtxHMJXpi52UiwfAwCSE3CaqNJ5aJLs=; b=YFEubo78LkL48j klm9lNSrSEsX4OWCUWepBOrYSoUL3Fd3X6YWMFc14ECPDxuYoox502mYQb23sUtIeL52GoH2ki5Ux Ft9VA1HS6QoYKeKt06hR2y6hNqt63yMhkUbvDCrMSzlR0o+hquPoEefb3+ONDX9r/BI6y0z7kTMgt C4mCYSCUI14xZ9/Hm0ZNs9G9ebZ7Dw3wxCATMCEXOOiPlHXnaDRlDghCzvujLXH2YQhDVu3wC9VQO cgNILBX3rKLDvlAOocVWDhy9ZBiFdEe7GdIOlyq9ZsL0TlmBVc69fP0MgifUgMwNri1UTt1LCyTlk Cmpo+MG+82cq9xroBr7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrpTL-002xsk-H8; Mon, 29 Nov 2021 22:50:07 +0000 Received: from mail-ot1-f50.google.com ([209.85.210.50]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mrpT8-002xoA-HO; Mon, 29 Nov 2021 22:49:55 +0000 Received: by mail-ot1-f50.google.com with SMTP id w6-20020a9d77c6000000b0055e804fa524so27614101otl.3; Mon, 29 Nov 2021 14:49:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lgpJDEy/DEmK8UFLaeIWSUbO9Yqo5LKn3BjNolq3NLA=; b=3OEQlzwuyKlkC1a4oCGdwTMKXoT9DDRgQMii1vit+FHC1toMPvq++eWc7X/CntqyIs Sx0rp4dExmYqTLXBQYtu1N5fXL5z97X0oJxmNxtmkMM5+ajBiPOf0LQdx0EtNzMotbOu kWgj7goRq+VQ5eQWM+ApSTwNmZ2OcMONVbrcTkKBA8BD7BuPSPGHO0G7+V61EGnxReCE CI6gj1iLBPO+mRQkJCOk+j29XbVhMnBNVXwUTmi9TUV9NvwO1Q8bWZjoKH3b90eADQwq HGANk4yru5uiupEzdvSsZ9ShRcUGQ2g4l2iXRJYiM0a+V0fM3NMA0scMZspX03+oZzJb 0lDA== X-Gm-Message-State: AOAM530WveJQ0NSILUqY2MjVI61DnyvbgHZC6PkdGV6eQ+tk0KQ0HVRW 8uaiVyHbLktaNJuKhzIXra+cNDxJgw== X-Google-Smtp-Source: ABdhPJwA6KqX3QbtFMquS84BeoB10ocNLEcrE8q5FJnCKsRjemYVJZbBxHo5WBw+uf9OlxKBceqPAA== X-Received: by 2002:a05:6830:2712:: with SMTP id j18mr46832046otu.302.1638226193372; Mon, 29 Nov 2021 14:49:53 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id e14sm2505203oow.3.2021.11.29.14.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Nov 2021 14:49:52 -0800 (PST) Received: (nullmailer pid 755875 invoked by uid 1000); Mon, 29 Nov 2021 22:49:51 -0000 Date: Mon, 29 Nov 2021 16:49:51 -0600 From: Rob Herring To: Maxime Ripard Cc: Scott Branden , Nicolas Saenz Julienne , Frank Rowand , Ray Jui , Florian Fainelli , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH 1/5] dt-bindings: display: vc4: Add optional phandle to firmware Message-ID: References: <20211117145040.334827-1-maxime@cerno.tech> <20211117145040.334827-2-maxime@cerno.tech> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211117145040.334827-2-maxime@cerno.tech> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211129_144954_621075_1F0A2DB1 X-CRM114-Status: GOOD ( 19.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 17, 2021 at 03:50:36PM +0100, Maxime Ripard wrote: > The firmware can free all the resources it was using to run the display > engine that won't be needed once the kernel has taken over. > > Thus, we need a phandle to the firmware DT node to be able to send that > message when relevant. Why? Just use of_find_compatible_node(). > > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/display/brcm,bcm2835-vc4.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > index 49a5e041aa49..18de6912b833 100644 > --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > @@ -21,6 +21,11 @@ properties: > - brcm,bcm2835-vc4 > - brcm,cygnus-vc4 > > + raspberrypi,firmware: > + $ref: "/schemas/types.yaml#/definitions/phandle" > + description: > > + Phandle to the firmware node > + > required: > - compatible > > -- > 2.33.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89060C433F5 for ; Mon, 29 Nov 2021 22:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235642AbhK2WyN (ORCPT ); Mon, 29 Nov 2021 17:54:13 -0500 Received: from mail-ot1-f49.google.com ([209.85.210.49]:33333 "EHLO mail-ot1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235797AbhK2WxL (ORCPT ); Mon, 29 Nov 2021 17:53:11 -0500 Received: by mail-ot1-f49.google.com with SMTP id 35-20020a9d08a6000000b00579cd5e605eso27747069otf.0 for ; Mon, 29 Nov 2021 14:49:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lgpJDEy/DEmK8UFLaeIWSUbO9Yqo5LKn3BjNolq3NLA=; b=dHFZqcNbgAEjL6z8TGreLiRQx+5onLei8cnDYaevAg0ZOVooFRdt+FcdJ1/npXm2k/ 3MOJInBQRhK+jENeg8owCMILvlEnOjWZMCAS/BhJxmjj2lQZL4QnSGMdvi6QqwZxQu40 7DinpMJePq35qe8OjIzpygXa46Qwz68Oqt5kkZwRfyQRHBV7h9oWdj6+qMQWU3ToDO32 hnakO5XUKVL7uIeuxi63cYBUXM01h1xsDN4dx2ruCJQBYrjlzlm6VpCnY+z7Jgo56kmp emn1mougM+AQGuUT+XeUdaZ5auvMPMHtk7cVYnb734EatTWP7tFCYltSwvlKeN3roIN2 TW1Q== X-Gm-Message-State: AOAM532/fHQbGu4tyhubSL7xzHQ9v4F1I/7em8m2aDA+1wXMZ67P1JP2 4ZyITMa2dvbVQnVgJCbkVg== X-Google-Smtp-Source: ABdhPJwA6KqX3QbtFMquS84BeoB10ocNLEcrE8q5FJnCKsRjemYVJZbBxHo5WBw+uf9OlxKBceqPAA== X-Received: by 2002:a05:6830:2712:: with SMTP id j18mr46832046otu.302.1638226193372; Mon, 29 Nov 2021 14:49:53 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id e14sm2505203oow.3.2021.11.29.14.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Nov 2021 14:49:52 -0800 (PST) Received: (nullmailer pid 755875 invoked by uid 1000); Mon, 29 Nov 2021 22:49:51 -0000 Date: Mon, 29 Nov 2021 16:49:51 -0600 From: Rob Herring To: Maxime Ripard Cc: Scott Branden , Nicolas Saenz Julienne , Frank Rowand , Ray Jui , Florian Fainelli , Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , linux-rpi-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH 1/5] dt-bindings: display: vc4: Add optional phandle to firmware Message-ID: References: <20211117145040.334827-1-maxime@cerno.tech> <20211117145040.334827-2-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211117145040.334827-2-maxime@cerno.tech> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Nov 17, 2021 at 03:50:36PM +0100, Maxime Ripard wrote: > The firmware can free all the resources it was using to run the display > engine that won't be needed once the kernel has taken over. > > Thus, we need a phandle to the firmware DT node to be able to send that > message when relevant. Why? Just use of_find_compatible_node(). > > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/display/brcm,bcm2835-vc4.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > index 49a5e041aa49..18de6912b833 100644 > --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > @@ -21,6 +21,11 @@ properties: > - brcm,bcm2835-vc4 > - brcm,cygnus-vc4 > > + raspberrypi,firmware: > + $ref: "/schemas/types.yaml#/definitions/phandle" > + description: > > + Phandle to the firmware node > + > required: > - compatible > > -- > 2.33.1 > > 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3ED95C433FE for ; Mon, 29 Nov 2021 22:49:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3EDFD6E05A; Mon, 29 Nov 2021 22:49:55 +0000 (UTC) Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) by gabe.freedesktop.org (Postfix) with ESMTPS id 320516E05A for ; Mon, 29 Nov 2021 22:49:54 +0000 (UTC) Received: by mail-ot1-f44.google.com with SMTP id 98-20020a9d086b000000b0057a403bbd4eso3023132oty.13 for ; Mon, 29 Nov 2021 14:49:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lgpJDEy/DEmK8UFLaeIWSUbO9Yqo5LKn3BjNolq3NLA=; b=dxW9CcXAKjSAAB+06ubszjZFXkDCwqxGDkDPvL24UU0FG8JTFO32oI08hJwizLUeHC m04QNbSeHKk3ejZb6Bw4NP0AyJqe8QUxEFKqllQskOTaU4KzXHOxuqGkv3fdqGt/3Fcc 63iwedVLKVUXXOBVn0JADnccxQa3naNkUnQfm+1BAJ4XYglwJKmFuOO8X8Bsk58hgUJ5 SkfKDdeNHIGpVx8erOa/4yrTCDpnV2aNa4XupD3JQ6hmYIxw0igEzm7/SOoyYgL5t90i OhlS5ajuJdUre2lCIlMC1cl4rXE3nM+BIHxbB5kx5pd5EsXTURs3Wx+wu+hUIa8STSQr m2vw== X-Gm-Message-State: AOAM533itzXkp4VXV7pFeH2mWWY0PLhfX6JqAsnJsJ4j0J82GGGHOS5k YTU730mgqEYt6r+OilfjtQ== X-Google-Smtp-Source: ABdhPJwA6KqX3QbtFMquS84BeoB10ocNLEcrE8q5FJnCKsRjemYVJZbBxHo5WBw+uf9OlxKBceqPAA== X-Received: by 2002:a05:6830:2712:: with SMTP id j18mr46832046otu.302.1638226193372; Mon, 29 Nov 2021 14:49:53 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id e14sm2505203oow.3.2021.11.29.14.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Nov 2021 14:49:52 -0800 (PST) Received: (nullmailer pid 755875 invoked by uid 1000); Mon, 29 Nov 2021 22:49:51 -0000 Date: Mon, 29 Nov 2021 16:49:51 -0600 From: Rob Herring To: Maxime Ripard Subject: Re: [PATCH 1/5] dt-bindings: display: vc4: Add optional phandle to firmware Message-ID: References: <20211117145040.334827-1-maxime@cerno.tech> <20211117145040.334827-2-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211117145040.334827-2-maxime@cerno.tech> 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, Nicolas Saenz Julienne , Tim Gover , Scott Branden , Dave Stevenson , David Airlie , Ray Jui , dri-devel@lists.freedesktop.org, Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, Thomas Zimmermann , Daniel Vetter , Frank Rowand , Phil Elwell , linux-arm-kernel@lists.infradead.org, Dom Cobley Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Nov 17, 2021 at 03:50:36PM +0100, Maxime Ripard wrote: > The firmware can free all the resources it was using to run the display > engine that won't be needed once the kernel has taken over. > > Thus, we need a phandle to the firmware DT node to be able to send that > message when relevant. Why? Just use of_find_compatible_node(). > > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/display/brcm,bcm2835-vc4.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > index 49a5e041aa49..18de6912b833 100644 > --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-vc4.yaml > @@ -21,6 +21,11 @@ properties: > - brcm,bcm2835-vc4 > - brcm,cygnus-vc4 > > + raspberrypi,firmware: > + $ref: "/schemas/types.yaml#/definitions/phandle" > + description: > > + Phandle to the firmware node > + > required: > - compatible > > -- > 2.33.1 > >