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 7C558C433F5 for ; Mon, 24 Jan 2022 19:11:37 +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=AiFIVAaEYRFv4J4D4IZaE96X+lM9N7EI9Xa9DlqREEU=; b=SbLmnU1fUeoD4l Kufqy4HupH9zb4HwCGw5I0Klpm8QNwW2cuYIrAufiaqlFD7PLrxSlH53TecfyW8bXTR2Qn/efyz5f X8MtbV6DBidDOGpn4vVHYqGW5zC8QHsHWc0DkyMFrNiXfARDDY7RJrflGPyBurBm8LH2pi8FveqSR t6B5ZUbC3YkpRddVtFoq/IE1ltmwtiVjMLafgy4bkBUy6H4bBNKAuR+7cBBTQvUQvA7Kl2DO/0aKM LPcknQSPzKwnMplF3/ci2wjsATKHcGdGhwHEWtpRUuT+tiM3lP/s0byQiEk5HyPsi7qE7tZHSTJmR hpSX9HgZd/YwtDJBUfuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC4io-004mFO-FL; Mon, 24 Jan 2022 19:09:47 +0000 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nC3ny-004P47-5Y for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 18:11:04 +0000 Received: by mail-oi1-x233.google.com with SMTP id y23so8467167oia.13 for ; Mon, 24 Jan 2022 10:11:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanguardiasur-com-ar.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bLjR18B4+O+BIq4G++lcJm85fWQaGrH2dHhZhdZDiNg=; b=4Pwvu6wbVKNMT1IIQfGgwf/cWB5DOhgoxtmYK9b6CJBDR/cUI8aLbOZCfdjQK3m8Oy fYczIA0hgH9T+qPlgcE6d5o896j4zVri+HqCwa1ld7/XoTdCR1F2qd4oNDAFDyCAyjfc 1e91X48DOh4n4D+LcPA17yp8DIYCconJ51xP7BnflNfJ/vSnPtRWU0GSjkiDJU0kV4Kc XLMa7fgbCO8Vyns+V1qjIAnOKSZGIDxf96+kQ+kHGz3tIBpgAFuflEDcENF7GRTgSxR5 WzSvGjETaJE1YsmuJ2b0vU2pJw1+fsx0n5zBJrd+KI4zrRBgmZDKsqTWwd0R8IyjQGp3 oGdw== 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=bLjR18B4+O+BIq4G++lcJm85fWQaGrH2dHhZhdZDiNg=; b=Gu8sVIVAi/4Tj0Rbu7595L5qxjkxhcD94BeVC2BvQY63yKE+oknVb5rkfQ9KDm5dPP XjlZF7hdoCdrErX2vo320nIpxKPQTyGbM0kpA4uVM15ApK6oSdHAyLAK0n7VzIxcfzzQ Z5uVPKyrJ5XxGcU3+qUjURoSNOtHDvr3CF28v5AOmxZP3OPaLLgMbuUlJct634ztKljP 9oCZpaNRWQmpgkx+yuwR3IDeO5kwY81l6Q4IRw48g1vBzYEZWAbMjWMgDEAJOMW7AGWX kwsKEIrRcIAz9l4CC8sS1K5vnFgz8KzJYbEyK3ZYBZMs5kG5A11epzocxPBk0SUGvk3Z Wv/A== X-Gm-Message-State: AOAM531kMuVzumA3uBY9+17AN70fcAQdl0C9xChjh787gIjWMXekNyVP CXfjUOh0KZsc40xk1G87dr8tmg== X-Google-Smtp-Source: ABdhPJxJ2boFuR0dh+CNPK3ZdaELWLmFBxuDXsa8zlM+dj8aIG0igVhT92WI5bJwXPs1aRkb87N7PQ== X-Received: by 2002:a05:6808:1644:: with SMTP id az4mr2599697oib.18.1643047860800; Mon, 24 Jan 2022 10:11:00 -0800 (PST) Received: from eze-laptop ([190.194.87.200]) by smtp.gmail.com with ESMTPSA id b7sm4602674ooq.30.2022.01.24.10.10.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 10:10:59 -0800 (PST) Date: Mon, 24 Jan 2022 15:10:53 -0300 From: Ezequiel Garcia To: Adam Ford Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, aford@beaconembedded.com, Rob Herring , Philipp Zabel , Mauro Carvalho Chehab , Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Greg Kroah-Hartman , Lucas Stach , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH V3 04/10] dt-bindings: media: nxp, imx8mq-vpu: Split G1 and G2 nodes Message-ID: References: <20220124023125.414794-1-aford173@gmail.com> <20220124023125.414794-5-aford173@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220124023125.414794-5-aford173@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_101102_246637_1D529CC7 X-CRM114-Status: GOOD ( 18.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 Sun, Jan 23, 2022 at 08:31:18PM -0600, Adam Ford wrote: > The G1 and G2 are independent and separate decoder blocks > that are enabled by the vpu-blk-ctrl power-domain controller, > which now has a proper driver. > > Because these blocks only share the power-domain, and can be > independently fused out, update the bindings to support separate > nodes for the G1 and G2 decoders with vpu-blk-ctrl power-domain > support. > > The new DT + old kernel isn't a supported configuration. > > Signed-off-by: Adam Ford > Reviewed-by: Rob Herring > Reviewed-by: Ezequiel Garcia Thanks, Ezequiel > diff --git a/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml b/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml > index 762be3f96ce9..9c28d562112b 100644 > --- a/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml > +++ b/Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml > @@ -15,33 +15,20 @@ description: > > properties: > compatible: > - const: nxp,imx8mq-vpu > + oneOf: > + - const: nxp,imx8mq-vpu > + deprecated: true > + - const: nxp,imx8mq-vpu-g1 > + - const: nxp,imx8mq-vpu-g2 > > reg: > - maxItems: 3 > - > - reg-names: > - items: > - - const: g1 > - - const: g2 > - - const: ctrl > + maxItems: 1 > > interrupts: > - maxItems: 2 > - > - interrupt-names: > - items: > - - const: g1 > - - const: g2 > + maxItems: 1 > > clocks: > - maxItems: 3 > - > - clock-names: > - items: > - - const: g1 > - - const: g2 > - - const: bus > + maxItems: 1 > > power-domains: > maxItems: 1 > @@ -49,31 +36,33 @@ properties: > required: > - compatible > - reg > - - reg-names > - interrupts > - - interrupt-names > - clocks > - - clock-names > > additionalProperties: false > > examples: > - | > #include > + #include > + #include > + > + vpu_g1: video-codec@38300000 { > + compatible = "nxp,imx8mq-vpu-g1"; > + reg = <0x38300000 0x10000>; > + interrupts = ; > + clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>; > + power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>; > + }; > + - | > + #include > + #include > #include > > - vpu: video-codec@38300000 { > - compatible = "nxp,imx8mq-vpu"; > - reg = <0x38300000 0x10000>, > - <0x38310000 0x10000>, > - <0x38320000 0x10000>; > - reg-names = "g1", "g2", "ctrl"; > - interrupts = , > - ; > - interrupt-names = "g1", "g2"; > - clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>, > - <&clk IMX8MQ_CLK_VPU_G2_ROOT>, > - <&clk IMX8MQ_CLK_VPU_DEC_ROOT>; > - clock-names = "g1", "g2", "bus"; > - power-domains = <&pgc_vpu>; > + vpu_g2: video-codec@38300000 { > + compatible = "nxp,imx8mq-vpu-g2"; > + reg = <0x38310000 0x10000>; > + interrupts = ; > + clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>; > + power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>; > }; > -- > 2.32.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel