Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp587741pxb; Wed, 27 Jan 2021 15:59:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzo+n1FMq9F+RcwSOAlqe/rYXE2vkYT4EQGpctgRQXCSedul3Y/1GZf6y34pK4lrBwmmcYp X-Received: by 2002:a05:6402:3582:: with SMTP id y2mr11356116edc.345.1611791973402; Wed, 27 Jan 2021 15:59:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611791973; cv=none; d=google.com; s=arc-20160816; b=032BTVTMQ7wBeMetpScfDDKZBbc6gdupXyWl5seNnmllc2nt4Utn5klQrEhWjrAW3X UVR7MhHdnp6U2gBb2vza1zB26jGeQAC2To52DitW3i9m2Xmq00/Mv9doXXUZBlxrHR2Y ocSFuElidjP62pyUPkbre/O20tGCPkyHNh3lhXM9VkSW3J7sm0lPLwhUcBCY1sH1Opdx tT6PwG6rHieDX3nvEpjAjr0fAqQ94LD+wQylZ677+/5cWzbKrlv758pMhefv0piy91Th 9syq75EBBE1z++8T+oGRbFn9niHDEe2ZKJ59qBWJZWN8Eb6vxkXGrFA4/EMENQC5yHYc cpeQ== 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=PX93cX9uJi241MwgLb9pUGG4+3oVmdhndziA7Jn6dss=; b=m+qraCjchuWGWUPsFYcNmJ4V9CWMewHhV/P5yYMQu7/DS/fALUy0kQ9IZZH2peM7MM Lw6c7RRqlLPY9tktltnMDSCU8ZU9Eq9n2Cp1ZXS/TkrhE0UySsJXneedipJ1IhpV1iR7 Wyb4psX9a3vOq0XCYwHCt/5lVTm72MM8C111Rt7DHh7exwDOR9pzwSL/gRcOAQ7CCBu4 Wfrob9595w/XqDpRDRaNZtsZrX6xsNRsvF+H0piwwzlZg+PJymhTpjI9GimuMo3AnEci J3DB1RvP318M3EozQMFSwcR9dXWfqu7UdrpRMAtAMmoBG02REpFgNK1thARhAvHGRQPX x0UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cm0HODEs; 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 zl6si1433465ejb.747.2021.01.27.15.59.09; Wed, 27 Jan 2021 15:59:33 -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=k20201202 header.b=cm0HODEs; 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 S238200AbhA0NIt (ORCPT + 99 others); Wed, 27 Jan 2021 08:08:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:53538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S313764AbhAZWpX (ORCPT ); Tue, 26 Jan 2021 17:45:23 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 580642067C; Tue, 26 Jan 2021 22:44:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611701083; bh=ODWHnU+vUf2zfuDRfx2nVSDz1hdZBIUFISiJD8zI944=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=cm0HODEsGvYSt66s7yWvSYeipeNHgw7iJSiylVvHSbmELaVFGwhS6FqhY1C2tdYZu za78pd2l+y8I2MJbsrUkxDraY/lyO5dQubf3h2Ewicc9LFdUVwu6EEPcHmf9ORgQLd IKnaEucx9p8sbMFUn3aASGITf2kZd3T9VSBH063OIEfjsgjX1nvyyiIbm3w+VQFqEj FVi8nwwZVW6A0Jlnj+/qRRSGba+Gn7d/Pc7cgKIXqbCPwPOplHezYXOV9AxwOhSZqN FDVoAxRMStCc4hOzDMO9YethvEhzmLcD0aRB1N+E2rz2MBvVLxznmeEYH2ACi3r7iO xJxQiqBppqo9A== Received: by mail-ot1-f43.google.com with SMTP id s2so15741069otp.5; Tue, 26 Jan 2021 14:44:43 -0800 (PST) X-Gm-Message-State: AOAM5323MuP2GX7vaSWctRwroh6pcBmvgeWwcOAaIQQ9sCiTfEOnFii2 XUQX6j0XSgcBogWvuu4+ru2tNENTNAi8G7joHZg= X-Received: by 2002:a9d:3bb7:: with SMTP id k52mr5713513otc.251.1611701082742; Tue, 26 Jan 2021 14:44:42 -0800 (PST) MIME-Version: 1.0 References: <20201120085637.7299-1-m.szyprowski@samsung.com> <20201120085637.7299-3-m.szyprowski@samsung.com> <20201120110503.GB26836@kozik-lap> <14102bab-33a1-45e0-0faf-883c7b1133a5@samsung.com> In-Reply-To: <14102bab-33a1-45e0-0faf-883c7b1133a5@samsung.com> From: Arnd Bergmann Date: Tue, 26 Jan 2021 23:44:26 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] ARM: dts: exynos: use Exynos5420 dedicated USB2 PHY compatible To: Marek Szyprowski Cc: Krzysztof Kozlowski , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" , "linux-kernel@vger.kernel.org" , Sylwester Nawrocki , Vinod Koul , Kishon Vijay Abraham I , Bartlomiej Zolnierkiewicz , Willy Wolff , Marian Mihailescu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 20, 2020 at 12:10 PM Marek Szyprowski wrote: > On 20.11.2020 12:05, Krzysztof Kozlowski wrote: > > On Fri, Nov 20, 2020 at 09:56:37AM +0100, Marek Szyprowski wrote: > >> USB2.0 PHY in Exynos5420 differs from Exynos5250 variant a bit, so use the > >> recently introduced dedicated compatible for Exynos5420. > >> > >> Signed-off-by: Marek Szyprowski > >> --- > >> arch/arm/boot/dts/exynos54xx.dtsi | 6 +++--- > >> 1 file changed, 3 insertions(+), 3 deletions(-) > >> > >> diff --git a/arch/arm/boot/dts/exynos54xx.dtsi b/arch/arm/boot/dts/exynos54xx.dtsi > >> index fe9d34c23374..2ddb7a5f12b3 100644 > >> --- a/arch/arm/boot/dts/exynos54xx.dtsi > >> +++ b/arch/arm/boot/dts/exynos54xx.dtsi > >> @@ -188,7 +188,7 @@ > >> compatible = "samsung,exynos4210-ehci"; > >> reg = <0x12110000 0x100>; > >> interrupts = ; > >> - phys = <&usb2_phy 1>; > >> + phys = <&usb2_phy 0>; > >> phy-names = "host"; > >> }; > >> > >> @@ -196,12 +196,12 @@ > >> compatible = "samsung,exynos4210-ohci"; > >> reg = <0x12120000 0x100>; > >> interrupts = ; > >> - phys = <&usb2_phy 1>; > >> + phys = <&usb2_phy 0>; > >> phy-names = "host"; > >> }; > >> > >> usb2_phy: phy@12130000 { > >> - compatible = "samsung,exynos5250-usb2-phy"; > >> + compatible = "samsung,exynos5420-usb2-phy"; > > The DTS change will wait till PHY driver adjustements get merged... or > > if the difference is not critical, maybe using both compatibles (5420 > > and 5250) would have sense? > > It won't work easily with both compatibles, because in the 5420 variant > I've also changed the PHY indices (5420 has no device and second hsic > phy). IMHO the dts change can wait for the next release. I see this made it into the pull request now, but I had not been aware of the change earlier, and I'm slightly annoyed to have received it this way: - This is clearly an incompatible change to the dtb, and you all noticed that because it would cause a bisection problem. As a general rule, if a dts change does not work across bisection, we should not merge it at all, because it causes problems for anyone with external dts or dtb files. - It would likely have been possible to define the new binding in a backward-compatible way. I don't see a reason why the index values in the binding had to change here, other than a slight inconvenience for the driver. - If the change was really unavoidable, I would have expected a long explanation about why it had to be done in both the commit message and in the tag description for the pull request. I've dropped the pull request for now, maybe this can still be sorted out with another driver change that makes the new compatible string backward-compatible. Arnd