Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2830450lqt; Tue, 23 Apr 2024 02:59:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUs9CheW7xrrM5ZcmDGB4LU82QYXXrOwKojZycQDRo+rmdbYskgyCBRQvhDmQBW8GhS1v008F81zq7wxWyvwgu1DrCp3uZhSHir1553Yg== X-Google-Smtp-Source: AGHT+IGf3VpmTTsqtAxJm7HWw430rBOnrcHHLedlfK/Ed6rUiGQUXqixqtx8h3hEIFC9NcmPymCX X-Received: by 2002:a0c:f9c7:0:b0:6a0:824e:dad0 with SMTP id j7-20020a0cf9c7000000b006a0824edad0mr4455871qvo.43.1713866396638; Tue, 23 Apr 2024 02:59:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713866396; cv=pass; d=google.com; s=arc-20160816; b=DSDms7Q2PwbwBceNK1tYik1ee46NZKwj5lYG95oFoFTBgVOWDtQjoSyJEZUWK7G0qo eogVXXP4YSY64x8b7++NNgVcvALYSp3oZvCCPMFGa+PbqwKCPzrbWiGp6AKXgJR8JKQp Zb5bwX2RXMGeTGl4k7EtPAt7p4WLxvDW54TMyeF5lxDtIHYQarADLaaFhgzvHtvN/x4n 4sFrlNrT2Ec+4l6DBMQ9MxCuevidgCrFe9rtlLCTqX+gQE0Uv+Tx2ycqMUvOOD3Y8VPX M5uwNSXP8e5skEA+/mbbPff8VxrYwzB3ygb5unHdMP3nb0AlCn0qudLyFskgYXHn6cdo ZxrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=yvZfFpKe6sKjqcHcjtEJzK0AbY8gsajPKDfo7VKxDs4=; fh=iWaEz4yvdf5GQIp5TF//TYuDhCN07G5CBq3ssHddKhU=; b=a50b+rMD5XVNYKtPjbh10UxIdacsrAy7tPUECKn7NoqM8n26CYUF70f/PcA6ITcEso AB+nPKInjdUSEHyOqu2/tDTutoGlGyekUF6MWBtuDwchIH+rp3a6r3+/+KmWMkbwCFBd L7E0QgbYG/y2ctwRGOFNvsPEnZZuLl8ur3YU95y5mZpWWZhZ+UF7Zd772nn/MSm0TE/g fg1TJDiS9AeYVWrfBhLYsNckA5SawFMrsYxdsZ1Vc2YY5pWqPPnl67FHP1c4AX4WVwcw p9RGY+DjvfGdJLF27HszNsbShjzfdtrhHCY6M00z7CBfOgEx8bn5riH8K1c5xEA3nt4P Fzmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lYaBeMbT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gf7-20020a056214250700b0069b242d5754si12526455qvb.99.2024.04.23.02.59.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 02:59:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lYaBeMbT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-154824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 4CD721C21B15 for ; Tue, 23 Apr 2024 09:59:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B808B604D5; Tue, 23 Apr 2024 09:59:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lYaBeMbT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0F0B5FDB5; Tue, 23 Apr 2024 09:59:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713866371; cv=none; b=HhLT3ft8mHRP064NmFEomeDCyR1aVGskCi7WTm5QoIBzaCktK4KBhvBpItGvEN3w153xNgH85gChfC35Hb29mW8/EsEkxtT0xwkYNh29Rpb4Fi/6iRHjGiwNqVxNT64cFfS6rCHOKXPA1E+KMc0CVYctikgn7pQOrvAR+gEXMTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713866371; c=relaxed/simple; bh=oHbC2y82RY8ZSrVWmBLh/lcobyQjR/f3ec9ROiFotVU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aTCg0qKyA3QW6W74zl29qdQ2q5Ru8bpsuAo2hkH4Y+0kDDf1L2IdtwYIEOqLkhD5Iv0ZO8f7nYYYsp1Eja646U5JxZ+aDlkgqLO0WO7zw15M6tulmoj2iNlyl9By7fQqUeuxmC/2ILFW8F6Un15RnzuQ1yQzghDIs9W2iPODQUE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lYaBeMbT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB6F3C116B1; Tue, 23 Apr 2024 09:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713866370; bh=oHbC2y82RY8ZSrVWmBLh/lcobyQjR/f3ec9ROiFotVU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=lYaBeMbTWrYNsVWe2gpkDlAsFai0qqez7Bz85e33B3FcQRad+v/tnk+j3lxEMAyxK PxHt+jyzpSiVpQsQbXT+JGJ8HGBODOp9eAcO9pGhkwLR47l/S7pj41HWSXDrXinNq2 qU074FLJJzxOV0WmIZ6yuPwYleMNtR7EV0SJl9CH3YaPyMV2kcv4qd240/l99QJh5T 1wYAOEVAUfD+xA0xrzSUDAFSTfHeAKpl3QTuC28ksG2zdpMgNxvbrjFTzzVWcZq1xm OWoxacaoTrblY+tnjsvYckiDHr1erVUVglNzkMzmzSPfOsv2JMiPv79Kn5OI1C/r7q RUWZK8LywuYVA== Message-ID: <4c6d6957-3813-46d3-88de-ee64241bbe6f@kernel.org> Date: Tue, 23 Apr 2024 11:59:23 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/6] dt-bindings: mmc: renesas,sdhi: Drop 'items' keyword To: "Lad, Prabhakar" 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 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> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QW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nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 23/04/2024 09:21, Lad, Prabhakar wrote: > Hi Krzysztof, > > Thank you for the review. > > On Tue, Apr 23, 2024 at 7:29 AM Krzysztof Kozlowski wrote: >> >> On 22/04/2024 23:30, Prabhakar wrote: >>> From: Lad Prabhakar >>> >>> Drop 'items' keyword from compatible list which have single const value. >>> >>> 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. 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. Best regards, Krzysztof