From patchwork Mon Nov 7 16:50:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 16574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2167766wru; Mon, 7 Nov 2022 08:53:40 -0800 (PST) X-Google-Smtp-Source: AMsMyM5dwFUHTT0ce9kN09Emc7LYmN2pgLss61yOroGN7PqL925aTINy7fqq1Cynnms7ET87gw6Z X-Received: by 2002:a17:907:70a:b0:750:bf91:caa3 with SMTP id xb10-20020a170907070a00b00750bf91caa3mr49251641ejb.711.1667840019852; Mon, 07 Nov 2022 08:53:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667840019; cv=none; d=google.com; s=arc-20160816; b=BaFmUbhbL41DGojFBk4m8iNdW/1S61+gMzegFES4jh158VKB55GtLivMsxzYjW8mC9 CDTdly+uvFdxaVr4Wzn+FVZAniTSXFWo8fQpgrhKJvaEYifIej4nznv5LLk7qAVx7aD1 yNkQ0GIkl4MSUXr1qT7ZudseUe/U+Lb0IO3AHR8wGHKvqhqtwYMG+YvA8fvrYD3Ziq0C wu9ZWeP7L7y92hHVpOQykGjPLuKIzTC61iUlE+GpTGVdeFkn1u1pLwzTw8TMmDVHR6d0 6rgCAKxSy7oTzo5JlGvu3HeGSqgzzVafZlIqRowuvhv+SL/0IXwlhJQKsqf7wXC6SKgk 2NLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=066GdFSpasnC+dveyYViWi2Y9wmChHh9p6NXb3mTmhk=; b=u4WteMNSsY0FTX3j3B8pmbdXHr+apSauVGw2dKdFkCwsPCoBacdlIG/OD+6c3H8yIf jO3no1dTjq1sD+3o3P84smu/cxAzxh7nRQn3xqU9h1WfL3OhHdSn89+q6eFr35/NuDJs 2uTC6KZzQ5JG+HP+cuzcfawgGrf9b/JTHvMtq8ErJFIM03Tb8tXcIG6ba7tYqSRqdw1D veoDPce3GQATTiiwY0Apy6ZG5kSDMe2HW4zuS8s8K9vF9k0IeuKXFNlGcFsKSMtQKh2y PpX6mHBP4gPmSXFEiqGEhdI3Ky87OfjhxS67B98Cpd2XbDNDS0sWXptVo48ssrx+klka 18qA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ha4-20020a170906a88400b007a9b7e68634si8051521ejb.515.2022.11.07.08.53.15; Mon, 07 Nov 2022 08:53:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232781AbiKGQv3 (ORCPT + 99 others); Mon, 7 Nov 2022 11:51:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232862AbiKGQvI (ORCPT ); Mon, 7 Nov 2022 11:51:08 -0500 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3C4EF24089; Mon, 7 Nov 2022 08:50:50 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.96,145,1665414000"; d="scan'208";a="141793956" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 08 Nov 2022 01:50:50 +0900 Received: from mulinux.home (unknown [10.226.92.51]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id BA14640078CD; Tue, 8 Nov 2022 01:50:45 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven Cc: Fabrizio Castro , Magnus Damm , Biju Das , Wolfram Sang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Chris Paterson , Biju Das , Laurent Pinchart , Jacopo Mondi Subject: [PATCH v2 2/2] arm64: dts: renesas: r9a09g011: Fix I2C SoC specific strings Date: Mon, 7 Nov 2022 16:50:27 +0000 Message-Id: <20221107165027.54150-3-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221107165027.54150-1-fabrizio.castro.jz@renesas.com> References: <20221107165027.54150-1-fabrizio.castro.jz@renesas.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748857016351374731?= X-GMAIL-MSGID: =?utf-8?q?1748857016351374731?= The preferred form for Renesas' compatible strings is: ",-" Somehow the compatible string for the r9a09g011 I2C IP was upstreamed as renesas,i2c-r9a09g011 instead of renesas,r9a09g011-i2c, which is really confusing, especially considering the generic fallback is renesas,rzv2m-i2c. The first user of renesas,i2c-r9a09g011 in the kernel is not yet in a kernel release, it will be in v6.1, therefore it can still be fixed in v6.1. Even if we don't fix it before v6.2, I don't think there is any harm in making such a change. s/renesas,i2c-r9a09g011/renesas,r9a09g011-i2c/g for consistency. Fixes: 54ac6794df9d ("arm64: dts: renesas: r9a09g011: Add i2c nodes") Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven --- v2 - Improved changelog, as suggested by Geert and Krzysztof arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi index 1948d2e6bcae..2ccd48ee9880 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi @@ -126,7 +126,7 @@ cpg: clock-controller@a3500000 { i2c0: i2c@a4030000 { #address-cells = <1>; #size-cells = <0>; - compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c"; + compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; reg = <0 0xa4030000 0 0x80>; interrupts = , ; @@ -140,7 +140,7 @@ i2c0: i2c@a4030000 { i2c2: i2c@a4030100 { #address-cells = <1>; #size-cells = <0>; - compatible = "renesas,i2c-r9a09g011", "renesas,rzv2m-i2c"; + compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c"; reg = <0 0xa4030100 0 0x80>; interrupts = , ;