Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2788401ybb; Fri, 27 Mar 2020 12:04:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsmG3SV1divkR+M233ejHljFMU7gAF1haNAZo8BScTL04R7/koBBAYbyJJGCJ/l/zyoqjW9 X-Received: by 2002:a4a:a126:: with SMTP id i38mr759973ool.11.1585335870884; Fri, 27 Mar 2020 12:04:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585335870; cv=none; d=google.com; s=arc-20160816; b=Fp3pVLsNlknvstDqU2sk/jAnxESrt/gD/aAAfElYT4AYXUnwPKNlxZI8Yeb/HSSfVH BnBz7mvUHbOQopxJ8yPxdyG/Nppiub+AHWAKEiMmj/hxFWDmc/EHIpF8NcGEz3Er85w5 65thfbXenYyY3Lwl97XhGNhSgMBQuNHub0Jm5nDvatcsIIcE1DXCP+Ox4in4vLqyrTBX Nu1hCQdwGr21+O7vjo7xhYr4yPlMeG849hRJJeLb8Oa5OEdsIjedxarD/v1Tf+LuNvDe 6zBtkLVWFFVohzjmZZNgrwoJlED0VO1OADk1CyN/U0Z5tc4PsKRkoh2fWqDLXhRgvUiu VsKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3ITt8Qtkvl5bWhH2ykH+DLle23U//GmXww0cEqt/CIY=; b=bOd4c2pRRC2kFRkeLbjxYfn7w/hT+oeB1ha6dW8AGXZrOwVFwpplOh/tFLCVJfOg77 6AdhKus58sQm8N7kEM8MGU/U4pK9PHJiBeoL8zUy4iRz/MW/7cypsY1TARSnO/KG14UK YzJa9cMxMeKzYuqWylK2Sv88JmFT8UFJjhlUJnjtEDQKuoM9KWl1aoUkSrRLxhDenvhX uo0FslP0c7ms52wyTEO/Bmbqbm0JrQBhvfHZmsAAotMerCUE6WL2Rfd7WQTl/Xif911L zNBHVXTq6N67CHey+xNQ6QuSyiT/QnZ7o+CjvOttaDsUE17jlrpsdLcBFg6Kvf5VAOOc 4ocg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si2777503ook.91.2020.03.27.12.04.05; Fri, 27 Mar 2020 12:04:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727701AbgC0TDK (ORCPT + 99 others); Fri, 27 Mar 2020 15:03:10 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:42399 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbgC0TDJ (ORCPT ); Fri, 27 Mar 2020 15:03:09 -0400 Received: by mail-io1-f65.google.com with SMTP id q128so10926611iof.9; Fri, 27 Mar 2020 12:03:07 -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=3ITt8Qtkvl5bWhH2ykH+DLle23U//GmXww0cEqt/CIY=; b=CvCynFAZS4dMybHvxtHUziRZ36RAQk8WsTg4Ahx/3PxcK3bFi5w2lnQkx3VUN9YrFD NWQenPDqZBOM5mkJYDucIeRM5V2OaOI3DHXIbEw3EqmyDYcnze9hV3grG+HNG8ihdTJ4 vLBA1VfDFT9jswcrsvdXzHC6XOzRDzDyarqB8BI8h0gq5ebWwO2TjGFWXMl0NBtan+Az SDlQh0JUDAZIZHhJRfyd11UmluOC8HfS9ivtQxZobhH9gdrx6yu9gUMLkgAcw1ZR76U/ lcOEkM3MBqKiGMPLT5Ehl6ipFxWMrGSn/tFYMobRjGKSme0gTj/l2uZfsjAwOLvYgIyO DiGg== X-Gm-Message-State: ANhLgQ0xuctvJK0voy9vg05a09pNYesrfPKo9u4fU6zWuT7J7AFZcraO MX1q7B09Rd91iEY/IFQpsg== X-Received: by 2002:a6b:c8d4:: with SMTP id y203mr72705iof.111.1585335787129; Fri, 27 Mar 2020 12:03:07 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id i6sm2148350ila.20.2020.03.27.12.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Mar 2020 12:03:06 -0700 (PDT) Received: (nullmailer pid 28795 invoked by uid 1000); Fri, 27 Mar 2020 19:03:04 -0000 Date: Fri, 27 Mar 2020 13:03:04 -0600 From: Rob Herring To: Lubomir Rintel Cc: Linus Walleij , Bartosz Golaszewski , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mauro Carvalho Chehab , Ulf Hansson , Kishon Vijay Abraham I , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Mark Brown , Daniel Lezcano , Andrew Lunn , Gregory Clement , Daniel Mack , Haojian Zhuang , Robert Jarzmik , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 14/28] dt-bindings: arm: l2x0: Tauros 3 is PL310 compatible Message-ID: <20200327190304.GA27639@bogus> References: <20200317093922.20785-1-lkundrak@v3.sk> <20200317093922.20785-15-lkundrak@v3.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200317093922.20785-15-lkundrak@v3.sk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 17, 2020 at 10:39:08AM +0100, Lubomir Rintel wrote: > The validation is unhappy about mmp3-dell-ariel declaring its > marvell,tauros3-cache node to be compatible with arm,pl310-cache: > > mmp3-dell-ariel.dt.yaml: cache-controller@d0020000: compatible: > Additional items are not allowed ('arm,pl310-cache' was unexpected) > mmp3-dell-ariel.dt.yaml: cache-controller@d0020000: compatible: > ['marvell,tauros3-cache', 'arm,pl310-cache'] is too long > > Let's allow this -- Tauros 3 is designed to be compatible with PL310. > > Signed-off-by: Lubomir Rintel > --- > .../devicetree/bindings/arm/l2c2x0.yaml | 45 ++++++++++--------- > 1 file changed, 24 insertions(+), 21 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/l2c2x0.yaml b/Documentation/devicetree/bindings/arm/l2c2x0.yaml > index 913a8cd8b2c00..7e39088a9bed2 100644 > --- a/Documentation/devicetree/bindings/arm/l2c2x0.yaml > +++ b/Documentation/devicetree/bindings/arm/l2c2x0.yaml > @@ -29,27 +29,30 @@ allOf: > > properties: > compatible: > - enum: > - - arm,pl310-cache > - - arm,l220-cache > - - arm,l210-cache > - # DEPRECATED by "brcm,bcm11351-a2-pl310-cache" > - - bcm,bcm11351-a2-pl310-cache > - # For Broadcom bcm11351 chipset where an > - # offset needs to be added to the address before passing down to the L2 > - # cache controller > - - brcm,bcm11351-a2-pl310-cache > - # Marvell Controller designed to be > - # compatible with the ARM one, with system cache mode (meaning > - # maintenance operations on L1 are broadcasted to the L2 and L2 > - # performs the same operation). > - - marvell,aurora-system-cache > - # Marvell Controller designed to be > - # compatible with the ARM one with outer cache mode. > - - marvell,aurora-outer-cache > - # Marvell Tauros3 cache controller, compatible > - # with arm,pl310-cache controller. > - - marvell,tauros3-cache > + oneOf: > + - enum: > + - arm,pl310-cache The list should be indented 2 more spaces. I'll fixup when applying. > + - arm,l220-cache > + - arm,l210-cache > + # DEPRECATED by "brcm,bcm11351-a2-pl310-cache" > + - bcm,bcm11351-a2-pl310-cache > + # For Broadcom bcm11351 chipset where an > + # offset needs to be added to the address before passing down to the L2 > + # cache controller > + - brcm,bcm11351-a2-pl310-cache > + # Marvell Controller designed to be > + # compatible with the ARM one, with system cache mode (meaning > + # maintenance operations on L1 are broadcasted to the L2 and L2 > + # performs the same operation). > + - marvell,aurora-system-cache > + # Marvell Controller designed to be > + # compatible with the ARM one with outer cache mode. > + - marvell,aurora-outer-cache > + - items: > + # Marvell Tauros3 cache controller, compatible > + # with arm,pl310-cache controller. > + - const: marvell,tauros3-cache > + - const: arm,pl310-cache > > cache-level: > const: 2 > -- > 2.25.1 >