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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 31BE1C10F14 for ; Tue, 8 Oct 2019 12:38:47 +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 F312921721 for ; Tue, 8 Oct 2019 12:38:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HQe5IHoN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Fj0cjOYf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F312921721 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:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ptgOHZDWIDMqt977fr0CH7600gB25lWtshI8AL6poz4=; b=HQe5IHoNFwcVoo VSxKoPsbBl4uY7O/PwIuCtYyWWRN5IR8gpa9aD39nPlECrIhKUTz69DnVChY966zZIBIesjSzShJW qteBS73XD1e12PrzThB3hycqsL3GNjFKdodfSjNUVxahdtTxM5SxSciM7hKWmQyIH9kyQVkjoNe6U EjdSgAdWGv5jd3YVr4v1RWWTyLN4ZzyyzRtgj+SBthRXLCHfQC/AwQ94HLZNYpxCSnj/fPar+8Y5k pEv/Z1sELM4WJxnWUjlZgVOdd01x8AvMSf1cYW7XsLpKgF/55alMgbybQGgMcSdJTyQJXDiHhmo5Z Wy3jRsS46Sy9Zzo6to8g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHolI-0004Bk-KW; Tue, 08 Oct 2019 12:38:44 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iHol2-0003xk-FS for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2019 12:38:32 +0000 Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1F18E206B6 for ; Tue, 8 Oct 2019 12:38:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570538307; bh=0172FbZMwE+uHkpHQaDTjmrpy7r6UVMZViKRxp2jAkE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Fj0cjOYfJqhfG7IwXrmsg43ZvERQ73aD0HiD62uK8K0QAnuFy4VbETrnvYSymrBqN xM7+aR53XRnXLF/IMVEBQZral9XGk3sgp1dp0oYVgvM71fmByrgK0ow2kcUo6seEJK WtzTvf6j2ztu57+zCR9T41ITyxFFnOHtYtMF77Dg= Received: by mail-qt1-f182.google.com with SMTP id u40so24975621qth.11 for ; Tue, 08 Oct 2019 05:38:27 -0700 (PDT) X-Gm-Message-State: APjAAAUTdedCo53CyBUun5wXn+f/lN50UcXMGwu7HhKF3egHQvLEZCpV 6W3p6QgxT5edmNSBzuqdHhdVt6UfGOf0yZdCfw== X-Google-Smtp-Source: APXvYqzxC6rl6FMV1ScqL2fgXOVZv3hYhSzySpUPq3nsKaUzT0TVTrLa+50ZC/gUauiPJFRY9Nd2MNSIBGFt1IYYeV8= X-Received: by 2002:ac8:6982:: with SMTP id o2mr35571093qtq.143.1570538306332; Tue, 08 Oct 2019 05:38:26 -0700 (PDT) MIME-Version: 1.0 References: <20191004151414.8458-1-krzk@kernel.org> In-Reply-To: <20191004151414.8458-1-krzk@kernel.org> From: Rob Herring Date: Tue, 8 Oct 2019 07:38:14 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: arm: samsung: Force clkoutN names to be unique in PMU To: Krzysztof Kozlowski X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191008_053828_563084_4CD1197F X-CRM114-Status: GOOD ( 15.87 ) 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: Mark Rutland , devicetree@vger.kernel.org, linux-samsung-soc , Maciej Falkowski , "open list:SERIAL DRIVERS" , David Airlie , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , dri-devel , Kukjin Kim , Daniel Vetter , Lee Jones , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Marek Szyprowski 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, Oct 4, 2019 at 10:14 AM Krzysztof Kozlowski wrote: > > The clkoutN names of clocks must be unique because they represent > unique inputs of clock multiplexer. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/arm/samsung/pmu.yaml | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.yaml b/Documentation/devicetree/bindings/arm/samsung/pmu.yaml > index 73b56fc5bf58..d8e03716f5d2 100644 > --- a/Documentation/devicetree/bindings/arm/samsung/pmu.yaml > +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.yaml > @@ -53,8 +53,10 @@ properties: > List of clock names for particular CLKOUT mux inputs > minItems: 1 > maxItems: 32 > - items: > - pattern: '^clkout([0-9]|[12][0-9]|3[0-1])$' > + allOf: > + - items: > + pattern: '^clkout([0-9]|[12][0-9]|3[0-1])$' > + - uniqueItems: true You shouldn't need the 'allOf', just add uniqueItems at the same level as items. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel