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 A4165C433EF for ; Wed, 18 May 2022 00:56:55 +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=qXQ/dJGBdezTNvCDYax4o1Hj9fjYy+QBnAokqmqOLb0=; b=dfzWVHcRdClESK M1tEjrHHiGuiTtu4nkGcVTFfmBViK4SbDM8+oKvHkRA5D5nwcXcD2K4rBj5UltHv9WAxDOnA0NDMH Xdsc4AabyzywBMWnq9NUDAwZkyaWnD1rZPjyFuJRBqJkNMmlWfpseARMDXv2+2+KYAmENlNrxKHNA pYdp1vFUuRUQXpjbI2CpAWdSHoNgR1ok/N9yTKFJQvqzYTT0mx07ABopjwO8JIMDkW3ueVHgL1TpZ iI+pFvmls9zzlNRYbe8KKcJAvmZjkMpumNBHPcJt6qx2qx5DTfF/Vw2Wv12RW/EtDn+8ApLgYWeJU QYRWf7Bv3OK0tPyPV5HA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr7yY-00GQEu-Hk; Wed, 18 May 2022 00:55:42 +0000 Received: from mail-oo1-f41.google.com ([209.85.161.41]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nr7yU-00GQD8-IJ; Wed, 18 May 2022 00:55:39 +0000 Received: by mail-oo1-f41.google.com with SMTP id f2-20020a4a8f42000000b0035e74942d42so132644ool.13; Tue, 17 May 2022 17:55:38 -0700 (PDT) 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=VYditCrlpDU+v6UE6ybgoJgoFoF//YCll44qfhtcswA=; b=48Ffzav6FASpgR8g035haEqNTfTR0U3OjClxnmvGmUm76O6rbenJYmxbX1AVoq4B8c jiY994CMdBdJ226VoNvuxiMe5F23vUfT05jdt8zqM41q9n7pOlGCY78u3i4tlO75Lw4u ce5aCSCa9dIvhUzRgu6pRmRPkXurIG/5ut02kG/huXrMcvbwPYqFj0BHpB6bDV9IzHfN 5CBfRS8hnl0JHYtWLkdjxczv8HBEWOVVhzjPSGlEAGb0zuKjfqszo2vhqJaTvWBqX+BF DOvKGl+kskv6ICfxSe7VOxLVrU+yfAeBkiIleBouByMANrwYkqc29Nf1dq1cIZDpvRIR qRAg== X-Gm-Message-State: AOAM532PlogVytQzqh+sdHJ8FIYvr8n69GGtgvdsX4yLEjke4Mh3kNaG mNQvbeycrdodpeWKGFas4A== X-Google-Smtp-Source: ABdhPJyGOZ4hC/KJGPmAFWSGz1xrAGsSF3hn02Kn1x21JXuyhaawZ6MxDmVkgVhO5BpaquXTknWxOg== X-Received: by 2002:a4a:430b:0:b0:35e:a582:5ba1 with SMTP id k11-20020a4a430b000000b0035ea5825ba1mr9128107ooj.75.1652835337382; Tue, 17 May 2022 17:55:37 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id o2-20020a4a4402000000b0035eb4e5a6b6sm408264ooa.12.2022.05.17.17.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 17:55:36 -0700 (PDT) Received: (nullmailer pid 1978708 invoked by uid 1000); Wed, 18 May 2022 00:55:35 -0000 Date: Tue, 17 May 2022 19:55:35 -0500 From: Rob Herring To: Stefan Wahren Cc: Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Lee Jones , Peter Robinson , Melissa Wen , Phil Elwell , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 03/11] dt-bindings: soc: bcm: bcm2835-pm: Add support for bcm2711 Message-ID: <20220518005535.GA1974187-robh@kernel.org> References: <20220515202032.3046-1-stefan.wahren@i2se.com> <20220515202032.3046-4-stefan.wahren@i2se.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220515202032.3046-4-stefan.wahren@i2se.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220517_175538_647389_713DD5A0 X-CRM114-Status: GOOD ( 17.49 ) 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, May 15, 2022 at 10:20:24PM +0200, Stefan Wahren wrote: > Add a new compatible string for BCM2711 and the option to provide a > third reg property for the board's new RPiVid ASB. > > In BCM2711 the new RPiVid ASB took over V3D, which is our only consumer > of this driver so far. The old ASB is still be present with ISP and H264 > bits but no V3D. > > Signed-off-by: Stefan Wahren > --- > .../bindings/soc/bcm/brcm,bcm2835-pm.yaml | 19 +++++++++++++------ > 1 file changed, 13 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml > index 883ab7cb96e9..e13ce98d1753 100644 > --- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml > +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml > @@ -19,17 +19,24 @@ allOf: > properties: > compatible: > items: > - - const: brcm,bcm2835-pm > + - enum: > + - brcm,bcm2835-pm > + - brcm,bcm2711-pm > - const: brcm,bcm2835-pm-wdt > > reg: > - minItems: 2 > - maxItems: 2 > + minItems: 1 > + maxItems: 3 > > reg-names: > - items: > - - const: pm > - - const: asb > + oneOf: > + - items: > + - const: pm > + - const: asb > + - items: > + - const: pm > + - const: asb > + - const: rpivid_asb This can be simplified to: minItems: 2 items: - const: pm - const: asb - const: rpivid_asb > > "#power-domain-cells": > const: 1 > -- > 2.25.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 33363C433EF for ; Wed, 18 May 2022 00:55:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232955AbiERAzj (ORCPT ); Tue, 17 May 2022 20:55:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232502AbiERAzi (ORCPT ); Tue, 17 May 2022 20:55:38 -0400 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B1F053E25 for ; Tue, 17 May 2022 17:55:38 -0700 (PDT) Received: by mail-oo1-f53.google.com with SMTP id q7-20020a4adc47000000b0035f4d798376so137067oov.6 for ; Tue, 17 May 2022 17:55:38 -0700 (PDT) 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=VYditCrlpDU+v6UE6ybgoJgoFoF//YCll44qfhtcswA=; b=fW01kcFHff88ei9loFocMFuQ0GPcHmmmOsdOWhKXDGU7WWO+KRtpNImduURt3FPv3B NWiB+P2qt7ar8Sp57ZiVQYzJlJdRZlFk6mnrQ6dMt36GutkVlYzIkKiw+ylkInD3836F ddOOq2iv2yoDI4wzSx4N2iPWCJw3AqZT5ZZ4QCEu7KVNh25GIUaYsBNkGiSpyo/ZtKg4 3p1CzQp+/aiO9ma/M+3PB+qaDqHL3CRuykcOnxbL2wZv5UdWayR+Zu0TBj+qGkrfEYd3 74r3v+/9iGFt6YiRpNJJzIpG3mj/e5f6xgmEqE12wehdQia8Avmw1YkT8eG7AB+d2L2K okVg== X-Gm-Message-State: AOAM530EdVZDmPc1bLcVC+cUbOJ7JjlHvE8KT9e0Sw9maFYc6/mC3Cms nghovnQQ+IZkGjY5mr9GbQ== X-Google-Smtp-Source: ABdhPJyGOZ4hC/KJGPmAFWSGz1xrAGsSF3hn02Kn1x21JXuyhaawZ6MxDmVkgVhO5BpaquXTknWxOg== X-Received: by 2002:a4a:430b:0:b0:35e:a582:5ba1 with SMTP id k11-20020a4a430b000000b0035ea5825ba1mr9128107ooj.75.1652835337382; Tue, 17 May 2022 17:55:37 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id o2-20020a4a4402000000b0035eb4e5a6b6sm408264ooa.12.2022.05.17.17.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 17:55:36 -0700 (PDT) Received: (nullmailer pid 1978708 invoked by uid 1000); Wed, 18 May 2022 00:55:35 -0000 Date: Tue, 17 May 2022 19:55:35 -0500 From: Rob Herring To: Stefan Wahren Cc: Florian Fainelli , Ray Jui , Scott Branden , Nicolas Saenz Julienne , Lee Jones , Peter Robinson , Melissa Wen , Phil Elwell , bcm-kernel-feedback-list@broadcom.com, Maxime Ripard , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 03/11] dt-bindings: soc: bcm: bcm2835-pm: Add support for bcm2711 Message-ID: <20220518005535.GA1974187-robh@kernel.org> References: <20220515202032.3046-1-stefan.wahren@i2se.com> <20220515202032.3046-4-stefan.wahren@i2se.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220515202032.3046-4-stefan.wahren@i2se.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sun, May 15, 2022 at 10:20:24PM +0200, Stefan Wahren wrote: > Add a new compatible string for BCM2711 and the option to provide a > third reg property for the board's new RPiVid ASB. > > In BCM2711 the new RPiVid ASB took over V3D, which is our only consumer > of this driver so far. The old ASB is still be present with ISP and H264 > bits but no V3D. > > Signed-off-by: Stefan Wahren > --- > .../bindings/soc/bcm/brcm,bcm2835-pm.yaml | 19 +++++++++++++------ > 1 file changed, 13 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml > index 883ab7cb96e9..e13ce98d1753 100644 > --- a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml > +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm2835-pm.yaml > @@ -19,17 +19,24 @@ allOf: > properties: > compatible: > items: > - - const: brcm,bcm2835-pm > + - enum: > + - brcm,bcm2835-pm > + - brcm,bcm2711-pm > - const: brcm,bcm2835-pm-wdt > > reg: > - minItems: 2 > - maxItems: 2 > + minItems: 1 > + maxItems: 3 > > reg-names: > - items: > - - const: pm > - - const: asb > + oneOf: > + - items: > + - const: pm > + - const: asb > + - items: > + - const: pm > + - const: asb > + - const: rpivid_asb This can be simplified to: minItems: 2 items: - const: pm - const: asb - const: rpivid_asb > > "#power-domain-cells": > const: 1 > -- > 2.25.1 > >