Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3281766pxb; Mon, 9 Nov 2020 07:17:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3d0/JpAiLu0lpDw3vpqM1dfdahCCGWEK0yuz1gF5Wsenshfm0frUFIn932mmfd4uaaFG4 X-Received: by 2002:a50:9e0b:: with SMTP id z11mr16400973ede.341.1604935038851; Mon, 09 Nov 2020 07:17:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604935038; cv=none; d=google.com; s=arc-20160816; b=psgOy88ipFew30HxeoYa6M/hYGHwBPn/FV2aqLL6U47mqx2MoKEXe6PmO+hirGGOkZ qlioLKVgtm6C18fEAoZ4p50Xi1xu0SqUZg+sqA0fmuKfjxI0TgOy6O03lAkvc1G3+6gR Y4Py4uT8ACkeZYr5YJZMYdQZifVXWWrgQLGCXYK7TgIP4fbOsDcIXCvyZHsQGwnr6Vug ljBCCdogL2ZBHiX7/kNDc4S4fEUK8yQBnTxaWsuO8Hc7Bs0WdkNf92k0ZZGmqz++sjFT SP+vrFCa1yeJpldYEXzPap/OjCIUOrSnCrvrxxml1wg5WAgdXKbDryJMXFVhqj1rX8+o Y2ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SvTtIf2xpYNYMEKERs7moMYxLBe7hWUmAzAQVF3jVSk=; b=jvgxOtwLDm5H1TX2KTHqXwrpV8Ylx0RMu+JOsaQrFXkbfQ66oK0DQ1UOrMc0zJ3TGA 1DUUQ2IpXDyLmuzcafdIdRNBkTV/UQsyQ6NtY7axc5RTG+ExS/vmceidBaT7yi4SflYQ 0xJRsNUTogiWlmvpOiahy7i+knMuidTP8t5dQLsCl34hBOAsP6ToUVvE7V+ON2HxFHBp 9NGIHWv/RHE0iHsTXgtHwrN2/yNFlihIOcOsqvfBXddvvcvORSaz+TDqVEjQUkH20EMp Sa2gERxAExC62HQSuRmxZD15+3LYxPxLqcthKgBd/rDQsjyxjWBObOR86S/PvauB16tC olmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2Tw+6ILF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z17si7074191eja.372.2020.11.09.07.16.54; Mon, 09 Nov 2020 07:17:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2Tw+6ILF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730637AbgKIPPQ (ORCPT + 99 others); Mon, 9 Nov 2020 10:15:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:36386 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729776AbgKIPPQ (ORCPT ); Mon, 9 Nov 2020 10:15:16 -0500 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 81FEE2083B; Mon, 9 Nov 2020 15:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604934915; bh=uFzFBI18XxshAHcL4NhF+sS3BMnRmbg8BqeNyv++o0M=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2Tw+6ILFxObelRhzyGvW51nXQ9LjMct/tFT9Qbi6suDFUjer5t5bc3lXSE8PdoZ3x LeLEzfCfXZ7R8YRrQdeKrrUTTym3vVNuogga3ki0aQeSRZe2mQFzDoMWy98/HI0Yg1 YUCDbERcXhErSj5WOmjH7mJdL8h8bYI65i+XCpgI= Received: by mail-oi1-f171.google.com with SMTP id w145so10533850oie.9; Mon, 09 Nov 2020 07:15:15 -0800 (PST) X-Gm-Message-State: AOAM531M6E9C5KDVahnw5nt1RW6SQLmiGahTQXUcuhPxua9sAmhndTZj sGv+2Y17wn8ddaaGQ+BHlr6/BepSgThKr/A5/A== X-Received: by 2002:aca:5dc2:: with SMTP id r185mr9550220oib.106.1604934914871; Mon, 09 Nov 2020 07:15:14 -0800 (PST) MIME-Version: 1.0 References: <20201030053153.5319-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20201030053153.5319-7-vadivel.muruganx.ramuthevar@linux.intel.com> <20201104220321.GB4192737@bogus> <12deb9bb-6b3b-d71b-0a6e-5b58da23e09d@linux.intel.com> In-Reply-To: <12deb9bb-6b3b-d71b-0a6e-5b58da23e09d@linux.intel.com> From: Rob Herring Date: Mon, 9 Nov 2020 09:15:03 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 6/6] dt-bindings: spi: Add compatible for Intel LGM SoC To: "Ramuthevar,Vadivel MuruganX" Cc: Mark Brown , Vignesh R , Tudor Ambarus , "linux-kernel@vger.kernel.org" , linux-spi , devicetree@vger.kernel.org, =?UTF-8?Q?Miqu=C3=A8l_Raynal?= , simon.k.r.goldschmidt@gmail.com, Dinh Nguyen , Richard Weinberger , "Kim, Cheol Yong" , "Wu, Qiming" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 8, 2020 at 7:49 PM Ramuthevar, Vadivel MuruganX wrote: > > Hi Rob, > > On 5/11/2020 6:03 am, Rob Herring wrote: > > On Fri, Oct 30, 2020 at 01:31:53PM +0800, Ramuthevar,Vadivel MuruganX wrote: > >> From: Ramuthevar Vadivel Murugan > >> > >> Add compatible for Intel LGM SoC. > >> > >> Signed-off-by: Ramuthevar Vadivel Murugan > >> --- > >> Documentation/devicetree/bindings/spi/cadence-quadspi.yaml | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/Documentation/devicetree/bindings/spi/cadence-quadspi.yaml b/Documentation/devicetree/bindings/spi/cadence-quadspi.yaml > >> index ec22b040d804..58ecdab939df 100644 > >> --- a/Documentation/devicetree/bindings/spi/cadence-quadspi.yaml > >> +++ b/Documentation/devicetree/bindings/spi/cadence-quadspi.yaml > >> @@ -19,6 +19,7 @@ properties: > >> - enum: > >> - ti,k2g-qspi > >> - ti,am654-ospi > >> + - intel,lgm-qspi > > > > As this change shows, you don't need 'oneOf' for Intel... > As we you have suggested in the previous mail, I framed like below with > 'oneOf' > > properties: > compatible: > oneOf: > - items: > - enum: > - ti,k2g-qspi > - ti,am654-ospi > - const: cdns,qspi-nor > > - items: > - enum: > - intel,lgm-qspi > - cadence,qspi #compatible for generic in future use Why are you not using the documented vendor prefix 'cdns'? In any case, adding this is pointless. Your 'generic' compatible is below. And you still don't need 'oneOf' here. The enum contents here can be in the first 'enum'. > - const: cdns,qspi-nor > > so that ignoring error message warning can be avoided as well, Thanks! In the example? Fix the example! Rob