Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1553852pxk; Tue, 1 Sep 2020 01:21:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7udKIVXRVt9Dce26PThRGAWvuLiewNTR47bI77u0S5qcg6dS3Xzibj8351fa53ha2migQ X-Received: by 2002:a17:907:432b:: with SMTP id ob19mr475679ejb.400.1598948508194; Tue, 01 Sep 2020 01:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598948508; cv=none; d=google.com; s=arc-20160816; b=B5gxGksAY93fLkpSMga/sw1yj3cDrC81Kiw4qFrf9QDbLGMLtLOsXutVMt0OxNoCLa isju2Ouyiu0x8UPEOeDYtbCbryic8YmUSXqgcTQeWraHYuaaxSpwvrKkZHEb1XzLzei3 XrV/dhlLc3dHC9EVAV5vylQp0WB58ptANKqRCc5hk82DwIMAM0WM+1IvR5dv44U8FsnG la0UPZxaGYHCEGdvHYTCm7MlkEJN8clVSJbHSstgBHMoKgmzM9x9bv69K0jz+WTEZ61i cin34yDDcWlVAxHAhbvsA2ADPDdwCTqf8zkSh+8i7wI6oT1n5eF6rB6aUTeQcSUCzcsn 3nQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+lQ86Vwl5n94SqFdMcGUTSI4ty0oqwkOlzQe62AUS/w=; b=JlSwOL5ddrWxvgz0udJqM4Ko74iHd0notyT61eEr+q6dlGTSLkQgeonirkFIn/QBn4 NJkxhJftsQ/PvR2lbEAy2t1Dpf6mpQdubn8jG1bxqzpRyFqw1pUTnWXC1tSpdTJbx47A JYIWO8vsIRmsXCnbuWEFt0G6cMezuyExB57WVsfxWwAoWqXeTPt9HE581VtlnZGOHmYg g+90taMdZZHgqSH9mUJ5pHdeAyZR83PDhRceg+ObytkVvNCGpTfZMGoT6/GqLBqavsH0 4q6Cy+TLdKvwGvIqfVS6qyJom5NZgnw6dFJCYPUfiGH7yXqq3wFwS7rheK+b8ANi4IVg MKFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QmcfH1LT; 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 s7si181510edj.515.2020.09.01.01.21.24; Tue, 01 Sep 2020 01:21:48 -0700 (PDT) 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=default header.b=QmcfH1LT; 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 S1726567AbgIAITx (ORCPT + 99 others); Tue, 1 Sep 2020 04:19:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:48104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbgIAITv (ORCPT ); Tue, 1 Sep 2020 04:19:51 -0400 Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AE1F12098B; Tue, 1 Sep 2020 08:19:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598948391; bh=nlTjzcTguTfrzCTXIUOPN/HlzyEFA6DAUkpPteDfSFE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QmcfH1LT6XD0PZHu9wSVLSQjTtyskWxy1+HOl7O1K/jRXTNCcXz0lZtOzgIjo7kwo it2UBojqsZy9No5C2hoJ9590MLKXUQztkcX0VFo+N+IQZSPzPlHjaGDx62g05DflKy VpQcGHLWJ4Hrje1pCLRhehbSLuJyufAx6+xzmePQ= Received: by mail-ed1-f47.google.com with SMTP id l17so565369edq.12; Tue, 01 Sep 2020 01:19:50 -0700 (PDT) X-Gm-Message-State: AOAM530ofbh8qqYQOvnkoQWuO6k7Ld9xxhkDqthEqLo3x1S8zzyWtVWI u6aZA5GDOVekPr9CHHC5ZUOowv6+xkTKOkpzHrs= X-Received: by 2002:a05:6402:515:: with SMTP id m21mr765717edv.348.1598948389218; Tue, 01 Sep 2020 01:19:49 -0700 (PDT) MIME-Version: 1.0 References: <20200901075417.22481-1-krzk@kernel.org> <20200901075417.22481-12-krzk@kernel.org> <800d8fa8-7fd4-6221-f8be-ef422e5642d9@samsung.com> In-Reply-To: From: Krzysztof Kozlowski Date: Tue, 1 Sep 2020 10:19:38 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 11/13] ARM: dts: exynos: Silence SATA PHY warning in Exynos5250 Arndale To: Marek Szyprowski Cc: Rob Herring , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Bartlomiej Zolnierkiewicz , Sylwester Nawrocki Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Sep 2020 at 10:17, Krzysztof Kozlowski wrote: > > On Tue, 1 Sep 2020 at 10:13, Marek Szyprowski wrote: > > > > Hi Krzysztof, > > > > On 01.09.2020 09:54, Krzysztof Kozlowski wrote: > > > The SATA PHY in Exynos5250 SoCs has two interfaces and two device nodes: > > > 1. sata-phy@12170000 > > > 2. i2c-9/i2c@38 > > > > > > The first node represents the actual SATA PHY device with phy-cells. > > > The second represents additional I2C interface, needed by the driver > > > to communicate with the SATA PHY device. It is not a PHY-provider in > > > the terms of dtschema so rename it to silence dtbs_check warning: > > > > > > arch/arm/boot/dts/exynos5250-arndale.dt.yaml: sata-phy@38: '#phy-cells' is a required property > > > From schema: lib/python3.6/site-packages/dtschema/schemas/phy/phy-provider.yaml > > > > > > Signed-off-by: Krzysztof Kozlowski > > > --- > > > arch/arm/boot/dts/exynos5250-arndale.dts | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts > > > index f2bcce167b2d..3c401c82905c 100644 > > > --- a/arch/arm/boot/dts/exynos5250-arndale.dts > > > +++ b/arch/arm/boot/dts/exynos5250-arndale.dts > > > @@ -544,7 +544,7 @@ > > > samsung,i2c-max-bus-freq = <40000>; > > > samsung,i2c-slave-addr = <0x38>; > > > > > > - sata_phy_i2c: sata-phy@38 { > > > + sata_phy_i2c: sata-phy-i2c@38 { > > > compatible = "samsung,exynos-sataphy-i2c"; > > > reg = <0x38>; > > > }; > > > > I'm not against the rename, but frankly, the above node and all i2c > > parameters should be moved to exynos5250.dtsi. This is a SoC internal > > things (the same way as hdmiphy in exynos4.dtsi), so the board dts > > should only contain information like status = "enabled" for i2c_8 and > > hdmi_i2c_phy nodes. No need to duplicate it here and in smdk5250.dts. > > Good point, the I2C bus used here is an internal part of SoC. > > I will squash these two changes into a new one. Thanks for the review! While at it, I wonder about the samsung,i2c-slave-addr property. Is it really needed? Are there multiple masters on this bus? Best regards, Krzysztof