Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2872133lqt; Tue, 23 Apr 2024 04:28:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhYh9/WDCT9bFe7ZIe7bJ/RKmGztf356yB5TTgA62ao8IYxEitTCLxVawqRzUdvLzwwnUtA9mHRQQj6x43zTBUCm83UW/ID3waN+eB6g== X-Google-Smtp-Source: AGHT+IEAxEO9Oce+Vz2ll0CflzXUTfcw1pd5hkchXCMwJb+Rk7k8ALwNO7EqXGo8E2k2kN8s1kHI X-Received: by 2002:a17:906:db03:b0:a55:b062:3bfd with SMTP id xj3-20020a170906db0300b00a55b0623bfdmr5890613ejb.35.1713871705873; Tue, 23 Apr 2024 04:28:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713871705; cv=pass; d=google.com; s=arc-20160816; b=EumICO9DX3opIr4r0A2ywcZdRJn6UhrPzpgNzIvpLBtCxT25Kj/eWmotJMeJ6DZ0rw DkdY5y9hFlhjHChs5XsWAvwDZlpNO/ApDIElyAzH55MSL5zdYHQ2X2zzP7gGCuIdmy0b tT6T+ppwxDZ5yqk/wjR82nrM9+nJosnv5WvYfu7dRNWYrpxqDQMtd4jVwe34NMMURipB Bs8poR3swtSZv70A3Na8HbfudM0yhIZ8RmbckMWsZKGCRwtQtE5hb09IfhC2tSva6RcD Ogo+cwipnOE8GU2fIbdibzUG18vtSJsMubKIcWNx0/8HipB48Z+MZv6NXCnbJIP9G+xp +2wQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=9fXVEYwcrN6pIHZeASeinQCONCWFuoO/BqgRK0XIVrE=; fh=IM/d+IoBGdOpt0agL7Q7tyVStSO2Q4cmpG67a71VHIo=; b=IysjwsgbyB73RTSC1gv/dlWMvU+TqcuRWzGIGPwtN45tuf82hGIjNsnSCBj1Um0nbe vE/cnZ9h9QgYJma++ifMXzyN2CB74TCuiw8d45bWiSk06CwJdc7uwG+PSue2uhW/4rlL Zj9ESk/XysTq27ddirrr38Vnd2YKPphgnsWp8oFSXp1z/2+4bW6o8wwyH+5S+EDUfktA 1iLHXqOcxhViQNIpV1qbs5smG5tZlJiUFg5TlVAefEDMT9BTJV6+3s4T0TfwSXlE/q8j s3xIAhmtKJSJHJo/eW+U0zVWe+ls4sQ1tNNJLqxuXbw6ypTFcGqghlreUftaOaAuncW/ LQaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IP1JvZTZ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-154982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154982-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gs43-20020a1709072d2b00b00a55a009f9ffsi4497074ejc.998.2024.04.23.04.28.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 04:28:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=IP1JvZTZ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-154982-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154982-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AE1E01F241A9 for ; Tue, 23 Apr 2024 11:27:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D5E580020; Tue, 23 Apr 2024 11:27:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IP1JvZTZ" Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 318167E573; Tue, 23 Apr 2024 11:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713871649; cv=none; b=GVa6QjWFANBBuAZ0uhvRGtcYHiP5DAPT8spWIctkD7Mf992u8elYwijWuvfJON3tdjuNFzczGZf4051d0bMgSuE9tvKEX3M/Kg5eVBW9tFChumX2NHbBOm1iLtWRWytJ2dBLjk9vstTRICMkl/XqpZ32A+PwrYbY/1PdnoLDNGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713871649; c=relaxed/simple; bh=RXjI0rE/2Bz7aU5n8VbUuaFd1Y6UY+NP4eppUyr6WG4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZVBuwtE05S5mjp9QQNiYCJO8OogG86be8+h7AmpszreD5CtPfrPReiehwPlSS75EkBMQ5kmW+N7JwFyxvmt2y6PAA9diTufMKG1nGcHysUvJfdeOgmzJIBf8A084uJp0PK76T4S18aZCFPMhLspOPMnRomGOSX3IWejbn6uBr0I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IP1JvZTZ; arc=none smtp.client-ip=209.85.221.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-4dcbf770c24so2865355e0c.1; Tue, 23 Apr 2024 04:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713871647; x=1714476447; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9fXVEYwcrN6pIHZeASeinQCONCWFuoO/BqgRK0XIVrE=; b=IP1JvZTZ6OF58FNjIL6W8KGA4hXNX24CiPLUwHUBlKqf1LbqB6B6ygqeJfCO7J2cwK JpdWstI3V6T0MoRgvWTjoLrvCISspAmaU2BSJ4VyXBG0d72uBjEpd11LCRWJrDp3v/LA k8GQRpTU7nHvkBwjkVVMv0mvACLRcW7jzeilopE6LmVteCMUI3pmfH+LskLRbg0fZ52h X35ncqUmGMs7z0eLMmHgB+TV+lMfT8J/+ID8wwaNlA4VCz6PtpGgXsio28YiGg5haycg 2eEyGGu6g3RWTTwri5ib5jpv9baGXn8DZtLM/4lEHVDIrutzrYqcBY+E+94vbeK3ia4X iLcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713871647; x=1714476447; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9fXVEYwcrN6pIHZeASeinQCONCWFuoO/BqgRK0XIVrE=; b=v1l2eHXLVjNNNb/9xZq9ZyFwqyTKjHY4rGOgGoOnSlQPu0YSXIYrFvLDA7i6jJ6c5W zzOtwZw+TApJ5wPiVXBcEv5Tk3ACwCnKSGJow7pVR+lTwiUxt1zaOoOk/jGGcY1rQNTg pWRn39HmBBXlTQmS/WqKcUG/1sOmEkywrzCgqU66XB9H/puzEOqWGUSev+RV0FkeZlXO cFJjXWmqVYM+pfibaxNBht2tTdv6dCIDGQqbTDziljcHnJ96jwFcJFabnrag9T3lKnfZ t3IDhGKin3FThmK1gRSmjXG6lsV268JYU5Gp7EZCxH2FZCp9+dByH5fqR5Wg4w31T8/X mDWg== X-Forwarded-Encrypted: i=1; AJvYcCUrbADHlgO+0DTaXwaKiVYM0eoTltav8uvJA1vRwCyi/7+lSoJFhL7NBzFiA+vTH9s9bga+MFFMV/60uqpDJacvsD1o7pJO29b64z+KmKvnvVfyf8wX5UAifl3zKC8jOn9kRgZzL3hWmuTdqmbusBB0J8LMGlk4TJPsBKYYDhs4RlXLG3F+M24J2eZ8oyR/M65SMR2mNDISLLIFyyODQTq/IzDYc8u/ X-Gm-Message-State: AOJu0YxVg7MGN8pJu+W3iU5am3CR5GSIuWLHzk6bo+CFUJWQF7z4Tec4 3s70jzTOasvVX2/5/U7QQaacCb3HEO2HjYMwptFcHRXOuAOWlBL2RiQ7r+v93mcNvF+iRiDSJcQ TXUxmyEmLODUQjzCFN77I2ZPuDMc= X-Received: by 2002:a05:6122:410a:b0:4da:ae51:b755 with SMTP id ce10-20020a056122410a00b004daae51b755mr4960853vkb.3.1713871646754; Tue, 23 Apr 2024 04:27:26 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240422213006.505576-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20240422213006.505576-2-prabhakar.mahadev-lad.rj@bp.renesas.com> <2b422e9f-bd80-4c57-a3e1-8b463b25c834@kernel.org> <4c6d6957-3813-46d3-88de-ee64241bbe6f@kernel.org> In-Reply-To: <4c6d6957-3813-46d3-88de-ee64241bbe6f@kernel.org> From: "Lad, Prabhakar" Date: Tue, 23 Apr 2024 12:26:50 +0100 Message-ID: Subject: Re: [PATCH 1/6] dt-bindings: mmc: renesas,sdhi: Drop 'items' keyword To: Krzysztof Kozlowski Cc: Geert Uytterhoeven , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Wolfram Sang , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das , Fabrizio Castro , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 23, 2024 at 10:59=E2=80=AFAM Krzysztof Kozlowski wrote: > > On 23/04/2024 09:21, Lad, Prabhakar wrote: > > Hi Krzysztof, > > > > Thank you for the review. > > > > On Tue, Apr 23, 2024 at 7:29=E2=80=AFAM Krzysztof Kozlowski wrote: > >> > >> On 22/04/2024 23:30, Prabhakar wrote: > >>> From: Lad Prabhakar > >>> > >>> Drop 'items' keyword from compatible list which have single const val= ue. > >>> > >>> Signed-off-by: Lad Prabhakar > >>> --- > >>> .../devicetree/bindings/mmc/renesas,sdhi.yaml | 18 ++++++----------= -- > >>> 1 file changed, 6 insertions(+), 12 deletions(-) > >>> > >>> diff --git a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml = b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml > >>> index 29f2400247eb..90c8b1b727a8 100644 > >>> --- a/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml > >>> +++ b/Documentation/devicetree/bindings/mmc/renesas,sdhi.yaml > >>> @@ -12,16 +12,11 @@ maintainers: > >>> properties: > >>> compatible: > >>> oneOf: > >>> - - items: > >>> - - const: renesas,sdhi-sh73a0 # R-Mobile APE6 > >>> - - items: > >>> - - const: renesas,sdhi-r7s72100 # RZ/A1H > >>> - - items: > >>> - - const: renesas,sdhi-r7s9210 # SH-Mobile AG5 > >>> - - items: > >>> - - const: renesas,sdhi-r8a73a4 # R-Mobile APE6 > >>> - - items: > >>> - - const: renesas,sdhi-r8a7740 # R-Mobile A1 > >>> + - const: renesas,sdhi-sh73a0 # R-Mobile APE6 > >>> + - const: renesas,sdhi-r7s72100 # RZ/A1H > >>> + - const: renesas,sdhi-r7s9210 # SH-Mobile AG5 > >>> + - const: renesas,sdhi-r8a73a4 # R-Mobile APE6 > >>> + - const: renesas,sdhi-r8a7740 # R-Mobile A1 > >> > >> That's just an enum. > >> > > Are you suggesting to group them into a single enum instead...? > > Yes. That's preferred form, easier to read, because it clearly documents > that binding enumerates. > Agreed. > But just in case you start changing all const to enums: don't. Comment > is for this patch, since you already want to touch these things. > Indeed. Cheers, Prabhakar