Received: by 2002:ab2:5d18:0:b0:1ef:7a0f:c32d with SMTP id j24csp385973lqk; Sat, 9 Mar 2024 15:29:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV5yGxq1gtfxGoJLPvNHdYwJHO4C2SzW4mQguzvlN6kiJhTPdVQmQbgNFVZWbD2gpEpiDmk74G8regOrDmmSrCQbh9lhF4Dx3ZBNVDoYw== X-Google-Smtp-Source: AGHT+IGZQSutmE0mzG0gQiPi0qYpNDLLspUmGww7ncnNvW2KypIiJP47B9fU/UbQ6+TGAFqWUoBC X-Received: by 2002:a05:6214:5846:b0:690:8723:8866 with SMTP id ml6-20020a056214584600b0069087238866mr3408083qvb.25.1710026969475; Sat, 09 Mar 2024 15:29:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1710026969; cv=pass; d=google.com; s=arc-20160816; b=jgx5soxzfHU0flA7ipbejdLs8+p3d8DCAKVwjvvoKob4yO4TjpegRDzip5Q9QA7QNs 89fGPfjihCP54ilYVtCDdxmfi5yiaG6QlkoUVG/DixFfV+rJxIqEL8eUTE9MRyMw4d/B zKpfZIlTYGY43vkQA1CgNKcKXPgSU/jBXLkLuS87v7HTgRwooQsh4u+EAVNr/k7DYxzm KTeXP90o3bzAv6nrqvroQAY8l1UamHcMadMm14H545z83sRi/c4vpWZ7TENX7rO8ABTu kHNkvx+ysPfYsMVrTpCYEOxohqIZmW5gfudfVpa21JSCHxBhbNf8VKYEK3wIGnPGPP40 1mpw== 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=Pv2oTx4yAt7rLN+LxRpSAXwNMBDUXYe5fhs7ipCtTPw=; fh=smOtbZj9ZIkq6htf9nfyQeKY/CfV3e89TxgxaAXKYWg=; b=u0A9tYO9IhTE8+8iYxOM4jOV7kZcj0Ciyxw9GKi3RahTeoJRa85WT4DQsbuOjDnS5I HLvFjqFZ+X+24jWoFjcLaMNvr0yCvstDXTbs+5G6Wr37EAiFld0RHQ9ZGs9jJnF2D/ua ypr17jl/06zYz37dc6XrIoNDjNaah1KPbyGQyoQPWjcFSdgGV7Us1O7AIiazQRyuZiMW UUh0sl64hwk5x3H7yS3/u7ZwjyV7lJEreD/mFEQaYzi23zINxjKOgYprkvAVAShfdp6N kmw7D2TBwP6doNCOZ569VF+YLofLmukt7FgGtt+CLRZ2aReOVY5xx5wetl7FFlU7acdF /Omw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jewKj7jd; 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-98055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98055-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fn5-20020ad45d65000000b0068fe583c0bbsi2428857qvb.314.2024.03.09.15.29.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 15:29:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98055-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=@gmail.com header.s=20230601 header.b=jewKj7jd; 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-98055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98055-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2C2D51C20E29 for ; Sat, 9 Mar 2024 23:29:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7F0D535C4; Sat, 9 Mar 2024 23:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jewKj7jd" Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) (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 7231943ADE; Sat, 9 Mar 2024 23:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710026959; cv=none; b=R51Ky22pIPoFgsHhCH0I1IiphxF9+3+TUnqBx/GG0oOuGPBdl4LhI3D2GJqoIbm734UaAlq+RIJlcdEKkN7VeFcskRDqxMaoHVuoMigq0FxHhJPZ5OylkFbBp2oOu/vseOJX6hovP2WK+niD3FGkc1csvCy0vSph1EceaqdQT9A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710026959; c=relaxed/simple; bh=RiFYW+zTZNx95akeahA3PSf7Dx8KAVXi6pxRc7N5gag=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OqOiM96kCm23RbEOZAQz4A78sBHtoEAmHy3P+q8lJ4QvF3pPiDLaC10jVxDQEfDl0kI12cg2y+CMZvmw4xqmR5oxdOP8iZEC57YDCjXlLGo2EyNasQBBd+kgg1yO9aNk/ACBFaDdTw5e7NpyYmiC5jH4Z8Uyf9Rf22HzjpcxBhw= 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=jewKj7jd; arc=none smtp.client-ip=209.85.160.43 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-oa1-f43.google.com with SMTP id 586e51a60fabf-21f70f72fb5so1740514fac.1; Sat, 09 Mar 2024 15:29:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710026956; x=1710631756; 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=Pv2oTx4yAt7rLN+LxRpSAXwNMBDUXYe5fhs7ipCtTPw=; b=jewKj7jdyw2BeHwvTVpYWg1FcKUGvBnr6LC1bE/T4rYRWaPdKLQ7klR7ikEkk7btzS +eS6Tkv9t5iYm1OgMJH8cQuNGtp2pUyXUVxSD4GUiOBd7C/jOYX2qc4O4CIOw5F/n6t4 3YP1XuICCVbK4Y2Z/tHFZU9nEA+73RYtdZ+hv9MCRz2bBa8+AEyVX4i+XHhnofMAXj4H p1qLU0KzYJ/Y+aqmw2/6Xl/N7/txWrWIN1Ps4MOaB/grc5iwYa97WaLws6ttBk+sVCF+ USmjFPmwgg/h/p1xpUOXfhnG9KKNs+NeroxgUY/9wHJOwRzPPS5divo1LjOGRJ0dY2Py 16PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710026956; x=1710631756; 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=Pv2oTx4yAt7rLN+LxRpSAXwNMBDUXYe5fhs7ipCtTPw=; b=fs84PCPTWVn2RBw0ARJj2mLPU2gEzTvtrRE3d+/GIMt/RZYpqQZ7jbghDLNYcuxq5+ ipz1BTgnax2GUWNc0bX86EjjYPqbC5oGLGGW869PWUgmDZQq64Ze6XPnUMq72yS02crT z4T89GECVze8RYNIE9noZ38ns1OmacGjrcS41QhRvw78n419MdL6jzKnz6tGxKcwjSc6 yTaCdL3U7pSrsuKtwIdWL76QRGae6elSLXaFL/EbMlsziWQ8xGSej91pUsMeIyIHBCji kJetMIuwoYL2EmOehUvW54qpBS4a4IFeDNu3tnELJ5tS7tplJwVspEmrdZ9BGGryuaa8 BJ6g== X-Forwarded-Encrypted: i=1; AJvYcCUZ1fvWM1KlDn1Omr/fAzy0SJOMoOOA92MG3DTCrBLEHVBQglBen8mTyO4lFf3T3zL4YKigXz4XWnG0zdlaxFxNcyD5m2wux9pRbQS4ed5zkGqsL56yxYIdPpecqjO7UoMqLypOLVhrYPeDpMrjojX6c51tsSUp112Rlv9bfAwCbOZyhb4JfJwBmvRVgZadJavthIha5aphbd2TWSbzV6lSh6QSaYeI X-Gm-Message-State: AOJu0YxPAgEvLy44BHWZc5UNFix14xXKMZL1gcLN3FCufvKheWUqm4TQ nSmGoAn/5dLg5H9IYriONL3Ab1ccdvS888uaxAIoFvF8xVqrNtMUChSiRjNHojDgna/XtDNfB+D Xb1LM4E5h2xyXjL4mv2KRVCg3mKEoWXZLW0w= X-Received: by 2002:a05:6870:b51f:b0:21f:d4ee:ae01 with SMTP id v31-20020a056870b51f00b0021fd4eeae01mr3227819oap.18.1710026956376; Sat, 09 Mar 2024 15:29:16 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240308172726.225357-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20240308172726.225357-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <7082ed3b-d6d0-4228-b7a6-7c0e0e46b8e2@linaro.org> In-Reply-To: <7082ed3b-d6d0-4228-b7a6-7c0e0e46b8e2@linaro.org> From: "Lad, Prabhakar" Date: Sat, 9 Mar 2024 23:28:50 +0000 Message-ID: Subject: Re: [PATCH 2/5] dt-bindings: i2c: renesas,riic: Document R9A09G057 support To: Krzysztof Kozlowski Cc: Geert Uytterhoeven , Chris Brandt , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Wolfram Sang , linux-renesas-soc@vger.kernel.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Fabrizio Castro , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Krzysztof, Thank you for the review. On Sat, Mar 9, 2024 at 12:00=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 08/03/2024 18:27, Prabhakar wrote: > > From: Lad Prabhakar > > > > Document support for the I2C Bus Interface (RIIC) available in the > > Renesas RZ/V2H (R9A09G057) SoC. > > > > The RIIC interface in the Renesas RZ/V2H differs from RZ/A in a > > couple of ways: > > - Register offsets for the RZ/V2H SoC differ from those of the RZ/A SoC= . > > - RZ/V2H register access is 8-bit, whereas RZ/A supports 8/16/32-bit. > > - RZ/V2H has some bit differences in the slave address register. > > > > To accommodate these differences in the existing driver, a new compatib= le > > string "renesas,riic-r9a09g057" is added. > > > > Signed-off-by: Lad Prabhakar > > Reviewed-by: Fabrizio Castro > > I have doubts this are true reviews. What did it even show? Why this > review did not point problem with generic compatible? > As mentioned in path#1 these are "real"! > > --- > > .../devicetree/bindings/i2c/renesas,riic.yaml | 21 ++++++++++++------- > > 1 file changed, 13 insertions(+), 8 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/i2c/renesas,riic.yaml b/= Documentation/devicetree/bindings/i2c/renesas,riic.yaml > > index 63ac5fe3208d..2a7125688647 100644 > > --- a/Documentation/devicetree/bindings/i2c/renesas,riic.yaml > > +++ b/Documentation/devicetree/bindings/i2c/renesas,riic.yaml > > @@ -15,14 +15,19 @@ allOf: > > > > properties: > > compatible: > > - items: > > - - enum: > > - - renesas,riic-r7s72100 # RZ/A1H > > - - renesas,riic-r7s9210 # RZ/A2M > > - - renesas,riic-r9a07g043 # RZ/G2UL and RZ/Five > > - - renesas,riic-r9a07g044 # RZ/G2{L,LC} > > - - renesas,riic-r9a07g054 # RZ/V2L > > - - const: renesas,riic-rz # generic RIIC compatible > > + oneOf: > > + - items: > > + - enum: > > + - renesas,riic-r7s72100 # RZ/A1H > > + - renesas,riic-r7s9210 # RZ/A2M > > + - renesas,riic-r9a07g043 # RZ/G2UL and RZ/Five > > + - renesas,riic-r9a07g044 # RZ/G2{L,LC} > > + - renesas,riic-r9a07g054 # RZ/V2L > > + - const: renesas,riic-rz # generic RIIC compatible > > + > > + - items: > > + - enum: > > + - renesas,riic-r9a09g057 # RZ/V2H(P) > > No, that does not look right. If you added generic compatible for all > RIIC then how can you add a new RIIC compatible which does not follow > generic one? > The generic compatible above which was added previously was for the RZ/(A) SoCs and not for all the RIICs. The RZ/G2L family was also compatible hence they fallback to the generic RZ one. > This shows the ridiculousness of these generic compatibles. They are > generic till you figure out the truth: oh crap, it's not generic. > Sorry I lack skills to predict the future of upcoming IP blocks which fit in the SoC. > Stop adding generic compatibles when they are not generic. > BTW I am not adding a generic compatible string here and instead adding a SoC specific string. Anyway DT maintainers "should not" have been accepting the generic compatibles from day 1 for any binding at all. Is there a guideline where you can point me to please for when to add generic and when not to. Cheers, Prabhakar