Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp155506pxb; Wed, 3 Nov 2021 01:43:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3aoAHuxZu2X+mMCvVtQ2rrZJWLV5BDxLjgcuYTr8JjYg2nw9STyKC/0u+HCtpAA7ugKU6 X-Received: by 2002:a92:ca48:: with SMTP id q8mr30096825ilo.173.1635929019505; Wed, 03 Nov 2021 01:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635929019; cv=none; d=google.com; s=arc-20160816; b=0XnGmjtcI/HrYb6P4WDqpePgdkcEUcPN4o+cQoyJiRadKubZo9tmkE6VEZgaFbKUhf KEqCgUdwCJK6vgLbHctNyXGlDJOfWF51eTDyl3jYDUrb7C7mJofrELdaMHCRF7z+nEDB GMEBYDFAdx/ShUKtRC5KJFvduHSiNDG/yqdN1w1l1A9LsfmRHBodncG1BC8ubv7tJj1D DcwntBZPll3kC0vZqhZC78Etj6pgbj+8k4TpnmFtOLsynFrdOnh2/AYyKSHt9wU4UeN9 FvT2AXO0aFRlN9XywSxbbtXihiy80GKm4dHpY9kB9GwqRb1SBrzjghRtflyOgCQ7xoqk waWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=kKZRZEPwd3etVyB2WM4q5L1wpzbHA8gGvbGv8rJ6kec=; b=UzqOp6xJyhh4zvg3A+Gt4UptFpQHTV978J/Jys4369dO6X4Ose6NE2bXRvOkK6i5/c 5AhA9611G+XWZ9oc4L766Ulv9Iagrbf8KW44WdcxCbVW60mhfFoHfrbMJjHtfr+6gQz8 vQyDjBiBAvQomHkQfMLp2afZOO+RGSJcYZfSB4Bs1RRCcE9gusO2SvhXfJc/GEZiQZca PM3Zt7sYZEqFWivrITq9wwMRbS0xAKOcx8f9dpFfve9rrkH9iZ6J95xxyc57vlAVU8X6 4+YTiwC9UUqfNFmbKtQmFImO89l9pV8hH/fk8twtrj/CA5d/giY/d0uMeZcJFB5qllRu BfFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=RnmcNgH0; 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=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si3135632jaj.77.2021.11.03.01.43.27; Wed, 03 Nov 2021 01:43:39 -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=@canonical.com header.s=20210705 header.b=RnmcNgH0; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231702AbhKCIor (ORCPT + 99 others); Wed, 3 Nov 2021 04:44:47 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:58070 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231259AbhKCIoq (ORCPT ); Wed, 3 Nov 2021 04:44:46 -0400 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 0627E3F1AF for ; Wed, 3 Nov 2021 08:42:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1635928930; bh=kKZRZEPwd3etVyB2WM4q5L1wpzbHA8gGvbGv8rJ6kec=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RnmcNgH0rg4wP+wUmIe59CkzhOAfKLy6SVi3RfGxSc+/qEztQsSRYw95PZNuUsJc6 0mBEREt1+0XOcpUyxXinxSTKd/L2n2Ve5gH/L8z2uO4XvxDcyBFhRb5q2wDiXJ7vEa MarZT7avFlzhBzD50z2zIegUnjPRqhXC5Q2+Yo7LIJWu1JOCoIQL3oRxC62ZwvZKdx VHRU06DynoPGCKwvDJcrYZvUoEUOIfaFPGQYZtMTVLBNpt1/Ilv+eKakEU9qrxQGPM RTl0MyQ+ptNb5jgIWICSMVHEzlU8zOiwzNEf6xw+NvUixlaHSQ9F9u3VPz67hxjMHw psjqN0T7SH0Lw== Received: by mail-lf1-f70.google.com with SMTP id d10-20020a0565123d0a00b004002359a671so362648lfv.10 for ; Wed, 03 Nov 2021 01:42:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kKZRZEPwd3etVyB2WM4q5L1wpzbHA8gGvbGv8rJ6kec=; b=XvshwqCD8rp4ndOaCCB6+WKZYwtm42zwIM+U3qMZBM8fQGGznFgLRxP8g+0TvEo6ad d7nykU1Qs4nSRX2VIfQJ7QyEFnzAiyfEVm3DhU2iN/5q4l0A4Df3gBDqPjZb8BO2tUrj +xUkPa/2wb2W6L82KpYRH8T3jotdVdnFNhAmhgmJtO2q0+XpNN8Shr1Z/PrtFYHd0NWE 16WO1+10ySR7ua7FjWZHGcckIjgN5wgSqq2gzlL6Nn70MeYCySmtrqUY0jJS5QUBsnx8 Nj8l/oQRghhTFDjgSD9yN57bPW41BJAEfYBtMP4hrUQVcRS7cZCk3Hrp0g/mG3MhkrTD kWOg== X-Gm-Message-State: AOAM5317FXBH10hYH90/Cp/nFeE3o0uxIp1qp/VmJ4oFkR3U3fZRdxdz GqAdYwEig88qqHdPk7HFyBx3YLeDKd8l2dABeg7GkmfkQqHhmb1UnWpeTylbaYSg8n9pznTBkJj WSFBBF46xpy+ZOe35rczxCUFPpbequr2kC3USyNrcBg== X-Received: by 2002:a05:6512:238b:: with SMTP id c11mr23340531lfv.55.1635928929416; Wed, 03 Nov 2021 01:42:09 -0700 (PDT) X-Received: by 2002:a05:6512:238b:: with SMTP id c11mr23340519lfv.55.1635928929251; Wed, 03 Nov 2021 01:42:09 -0700 (PDT) Received: from [192.168.3.67] (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id k16sm120594lfm.168.2021.11.03.01.42.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Nov 2021 01:42:08 -0700 (PDT) Message-ID: Date: Wed, 3 Nov 2021 09:42:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: [PATCH 2/2] dt-bindings: i2c: exynos5: add exynos-usi-hsi2c compatible Content-Language: en-US To: Jaewon Kim , Wolfram Sang , Rob Herring Cc: Chanho Park , linux-i2c@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211101113819.50651-1-jaewon02.kim@samsung.com> <20211101113819.50651-2-jaewon02.kim@samsung.com> From: Krzysztof Kozlowski In-Reply-To: <20211101113819.50651-2-jaewon02.kim@samsung.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/11/2021 12:38, Jaewon Kim wrote: > This patch adds new "samsung,exynos-usi-hsi2c" compatible. > It is for i2c compatible with HSI2C available on Exynos SoC with USI. > > Signed-off-by: Jaewon Kim > --- > Documentation/devicetree/bindings/i2c/i2c-exynos5.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > The bindings go as first patch, please. > diff --git a/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt b/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt > index 2dbc0b62daa6..ce2373c7a357 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt > +++ b/Documentation/devicetree/bindings/i2c/i2c-exynos5.txt > @@ -14,6 +14,8 @@ Required properties: > on Exynos5260 SoCs. > -> "samsung,exynos7-hsi2c", for i2c compatible with HSI2C available > on Exynos7 SoCs. > + -> "samsung,exynos-usi-hsi2c", for i2c compatible with HSI2C available > + on Exynos SoCs with USI. I would prefer to describe the Exynos model, not the feature. USI might change between different SoCs, so then it will be "usiv2"? > > - reg: physical base address of the controller and length of memory mapped > region. > @@ -31,6 +33,8 @@ Optional properties: > at 100khz. > -> If specified, the bus operates in high-speed mode only if the > clock-frequency is >= 1Mhz. > + - samsung,usi-sysreg : sysreg handle to control USI type. > + -> sysreg phandle for "samsung,exynos-usi-hsic" compatible. s/sysreg/system registers controller/ s/handle/phandle/ Please document to what is this phandle. To which block. Why it cannot be the existing generic samsung,sysreg? > > Example: > > @@ -46,6 +50,8 @@ hsi2c@12ca0000 { > #address-cells = <1>; > #size-cells = <0>; > > + samsung,usi-sysreg = <&usi_sysreg 0x28>; This does not look correct for this compatible. We should really convert the bindings to YAML... > + > s2mps11_pmic@66 { > compatible = "samsung,s2mps11-pmic"; > reg = <0x66>; > Best regards, Krzysztof