Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2223356rdb; Wed, 21 Feb 2024 00:22:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXwzcduBHoB764eKyiOcZoIrKcAdqPz87z7pXiWOaVwYqGwvlG9ptkK52CgocKXeC+IwM1XKNjGHzrs4JZEAgol+RqE7HNb6pGO4NVWnA== X-Google-Smtp-Source: AGHT+IFPDyQdIT+Vo87cVCm9Bpr8A8PcmILhfU62J+EBGtrHBoRZshS2uy1Za8Y81X/ZRsDAR+6D X-Received: by 2002:a05:622a:130d:b0:42c:7b12:70bd with SMTP id v13-20020a05622a130d00b0042c7b1270bdmr32779277qtk.9.1708503743574; Wed, 21 Feb 2024 00:22:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708503743; cv=pass; d=google.com; s=arc-20160816; b=SZes3t8HlwmA3C7X+Kw6KiIQ3g41agofRmCD8GlNz2G7tTuE9dXaxF0YJncJZxTK1y 1WU7OpfP8WHPNl6v8Dm7I6zA7PQYVIhSXxlLT48+XEMZx4hnqam+cKIBM2BaKa/z7M5/ PaG07KCG4VFrM4cIK/JLywu4FzntZ1MT6vZfSVH0qL+df0LLRo57X18xMNGvHVnG6sVy wnzWsqQgarlSDqQMUDUDAujVy52Njxoaekzsic4XVZo9C4aT3z5oqw60uiXHxIfy5QX1 FfI4yYqQExgd38bmnusmNS73YTt/RODfLBTkKsZ0UsVIDXw75AaupjwS6cNR4kQWT6vU hllQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=x2NMUuw1viV82VO/DLrEzPbQIPhzFG4Kdea6ANtO4N8=; fh=j4S0x69msqLsxuVvAIdzgEhwilKthoIwI2S3gUzZVPE=; b=SzGX8ho1O34Hp7b757Zk5P7oYF7vxYm339HoD+G7PkQgOmxmO4+2gP3RcGHTAVG1kP ETfqNTZHH+YVcOLTFSnglvI6un8HbWRxDwepNNbuBt3CgHRYETlU/LxaDiMbRLqK4Vr2 fj6IERyqEwTcRZoQD2e01TkMagT404WiDY5m6LQ5+kmlUb5giqcZG/tv5wNl0lqcIVAj jNR0fqDFbo5wtgo5PapMgLOep0y6NWrwyWcBrSYs64zoo0AFruAuNpJf9cEieeAqKswB +UKx0ZL2XTO8QOBSpmzAuW0IhZ4RS9atZR1Re7EVIVA3ZgPx5hPoy4clqXRamaVHCqfJ GQDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oSpjTQj8; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id k24-20020ac84798000000b0042df31d1e95si9172854qtq.417.2024.02.21.00.22.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:22:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74296-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=@linaro.org header.s=google header.b=oSpjTQj8; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 4462C1C23FC7 for ; Wed, 21 Feb 2024 08:22:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7287E3BB55; Wed, 21 Feb 2024 08:22:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oSpjTQj8" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 383C03A8EF for ; Wed, 21 Feb 2024 08:22:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708503737; cv=none; b=EuNe+uNxM6KPhHKEJa9nQHCrpkfSLLUrxyh+QVgLtVVrMcEOO4dP5+xyyZZqrA8ALHxR8QPh/PR3gPFasdAXrSmSP1esQx1f7m30nIE1ESRqV0pOUJJhyFxzec2MjplV2LagwhhR3FAXl54YcBJzgFiDZhYsu5qAzv0cQXtBHbQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708503737; c=relaxed/simple; bh=3V5zvZ9gDapkGtLGs1YTvpdOWFfOI53x2eiHAb9b9L0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oIeK2Hwov/sFsOLE7WkMXNu46IKXRYDn1NLRK5GhgwzSvzUvnW8YYqxd/66WTh7b+DHyfiFUGo1GsS6ObjoS+Xj4oxKPkfxEAzuSQR2GzqQDPSa9OiC5ioVL5FwEqTLadiMqg4RMwfRJYOjpt3oKjbFwAWHB/XEqSPa/7maxGwc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oSpjTQj8; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a26fa294e56so990708466b.0 for ; Wed, 21 Feb 2024 00:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708503733; x=1709108533; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=x2NMUuw1viV82VO/DLrEzPbQIPhzFG4Kdea6ANtO4N8=; b=oSpjTQj8UBPoUQJcP6qUDdiTxxbtCip87fNsTjkItovo4HhAObYG6tHJupTW704ZnI djgOt83fBFZfc7aaf+bagivXPVsVOqA7acBbaqyW6X9D1EYPCpPd8BErprMNJE3RojyQ zmev488O2wtwKB/6uN6M8J1jToOkv8DkEAm/7e7+JidbmBpGnZkfHN+hV80e5HwU3U+q 3Hp0NQ/d0ekflIjuaXIgCJO9/n9Huv8z1zBvBrbPuT8t+HBBqhAMwzLDo4A28oP4Tp2f YWcM5kO4qMGAygR9mqvWJ07PKkQ9GKZKqn7kVISlARLwdI6/Dm/c6oMhsLBQZjO1v/R8 VRrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708503733; x=1709108533; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=x2NMUuw1viV82VO/DLrEzPbQIPhzFG4Kdea6ANtO4N8=; b=AolF+b5GRc9DUHZESwsG0+9KQu8sIgGSIGhEW9miAG27tpT2Ks2ntD5IPixDaqSQ9M DxRyvw0B5H3ZfDbzkN08u8oyPcoeQ+BrzIp2ok1Lvc3IOdMIrTdGR09ELKFGnJOzC4qB NLGCAIjUvB90oBDLN+h1yv6NLk6TCF99mJaVeR3KDfkwjg1FYxPpn5CdgFWr4b8dOHTp BeGdakXCPhojtNawN0q1AuInBrR8uqutz4ED3oGgyv28flaHJh32hcJhv0MCbS+6jP84 9H02ZrulLeHPsmFRKf4o6W4PV5ignK3X5PzI7trlJFLtFuAVISuIvq5kTg4PF6ttf9Km A9hQ== X-Forwarded-Encrypted: i=1; AJvYcCXYf1+sV7uLFk/VnOqB1d7tAvQf73+a6CiI9TcWfPASeJuKz7ncjDU2jfQnYqFXLm5c9XQcPzO0IelLG2xTRacFmlQ4DqbX2vAb6WDg X-Gm-Message-State: AOJu0YwPXSY0t3+ESfFefyxggzYvLLM8CZh/B3HTGA7PWx2/ArteG01Y tfzVnIYqj73GEy+AamOD8KLLEBa15V6jx6k33+Tu6SnsjAvu6yiYMtCPInFOwp4= X-Received: by 2002:a17:906:488c:b0:a3f:7bc:7278 with SMTP id v12-20020a170906488c00b00a3f07bc7278mr3123854ejq.31.1708503733549; Wed, 21 Feb 2024 00:22:13 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id tj2-20020a170907c24200b00a3f480154a3sm221446ejc.65.2024.02.21.00.22.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Feb 2024 00:22:13 -0800 (PST) Message-ID: <94730d0a-0e5a-4777-aadc-4748038a3ca8@linaro.org> Date: Wed, 21 Feb 2024 09:22:11 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC v3 1/5] dt-bindings: phy: hisi-inno-usb2: convert to YAML Content-Language: en-US To: Yang Xiwen , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jiancheng Xue , Shawn Guo , Philipp Zabel Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , David Yang References: <20240220-inno-phy-v3-0-893cdf8633b4@outlook.com> <20240220-inno-phy-v3-1-893cdf8633b4@outlook.com> <62221084-247c-4a0b-a030-e12cb2931411@linaro.org> <6f3f22f6-f659-494d-963c-544cf5f44adc@linaro.org> <9a5e9363-79eb-416c-89ae-c826062350b5@linaro.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLh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35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 20/02/2024 13:12, Yang Xiwen wrote: > On 2/20/2024 7:43 PM, Krzysztof Kozlowski wrote: >> On 20/02/2024 12:41, Krzysztof Kozlowski wrote: >>> On 20/02/2024 11:40, Yang Xiwen wrote: >>>> On 2/20/2024 4:16 PM, Krzysztof Kozlowski wrote: >>>>> On 19/02/2024 22:49, Yang Xiwen wrote: >>>>>> On 2/20/2024 5:37 AM, Krzysztof Kozlowski wrote: >>>>>>> On 19/02/2024 22:35, Yang Xiwen wrote: >>>>>>>> On 2/20/2024 5:32 AM, Krzysztof Kozlowski wrote: >>>>>>>>> On 19/02/2024 22:27, Yang Xiwen via B4 Relay wrote: >>>>>>>>>> From: Yang Xiwen >>>>>>>>>> >>>>>>>>>> Add missing compatible "hisilicon,hi3798mv100-usb2-phy" to compatible >>>>>>>>>> list due to prior driver change. >>>>>>>>>> >>>>>>>>>> Also rename to hisilicon,inno-usb2-phy.yaml and add this name to >>>>>>>>>> compatible lists. >>>>>>>>>> >>>>>>>>>> Fixes: 3940ffc65492 ("phy: hisilicon: Add inno-usb2-phy driver for Hi3798MV100") >>>>>>>>>> Signed-off-by: Yang Xiwen >>>>>>>>>> --- >>>>>>>>>> .../bindings/phy/hisilicon,inno-usb2-phy.yaml | 95 ++++++++++++++++++++++ >>>>>>>>>> .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 71 ---------------- >>>>>>>>>> 2 files changed, 95 insertions(+), 71 deletions(-) >>>>>>>>>> >>>>>>>>>> diff --git a/Documentation/devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml b/Documentation/devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml >>>>>>>>>> new file mode 100644 >>>>>>>>>> index 000000000000..1b57e0396209 >>>>>>>>>> --- /dev/null >>>>>>>>>> +++ b/Documentation/devicetree/bindings/phy/hisilicon,inno-usb2-phy.yaml >>>>>>>>>> @@ -0,0 +1,95 @@ >>>>>>>>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>>>>>>>>> +%YAML 1.2 >>>>>>>>>> +--- >>>>>>>>>> +$id: http://devicetree.org/schemas/phy/hisilicon,inno-usb2-phy.yaml# >>>>>>>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>>>>>>>>> + >>>>>>>>>> +title: HiSilicon HiSTB SoCs INNO USB2 PHY device >>>>>>>>>> + >>>>>>>>>> +maintainers: >>>>>>>>>> + - Yang Xiwen >>>>>>>>>> + >>>>>>>>>> +properties: >>>>>>>>>> + compatible: >>>>>>>>>> + items: >>>>>>>>>> + - enum: >>>>>>>>>> + - hisilicon,hi3798cv200-usb2-phy >>>>>>>>>> + - hisilicon,hi3798mv100-usb2-phy >>>>>>>>>> + - const: hisilicon,inno-usb2-phy >>>>>>>>> According to your driver hisilicon,hi3798mv100-usb2-phy and >>>>>>>>> hisilicon,inno-usb2-phy are not compatible. >>>>>>>> Ah, i didn't pay too much attention to that. I should remove the entry >>>>>>>> for hisilicon,inno-usb2-phy in the driver. Sorry for that. >>>>>>> We don't talk here about driver, although I used the driver as proof or >>>>>>> argument, because I don't have access to hardware datasheet (and no >>>>>>> intention to look there). >>>>>>> >>>>>>> What I claim is these are not compatible, so respond to this argument, >>>>>>> not some other one. >>>>>> Why not? Of course they are compatible. All 3 SoCs are using >>>>> Why? Because... >>>>> >>>>>> inno-usb2-phy. The only difference here is the method to access the >>>>> ... here! Different programming interface means not compatible. >>>>> >>>>> Please provide instead any argument that they are compatible, in the >>>>> meaning of Devicetree of course. You are claiming inno-usb2-phy can be >>>>> used for hi3798mv100 and it will work fine? >>>>> >>>>>> registers. They are all enabled by `writing BIT(2) to address 0x6`. In >>>>>> the cover letter, I said the driver is actually doing things wrong. >>>>> Cover letter does not matter, I don't even read them. Your commits matter. >>>>> >>>>>> Especially the commit adding PHY_TYPE enums, the name is confusing and >>>>>> conveys the wrong info. It's not PHY which are not compatible, it's the >>>>>> bus. I'll fix the driver, but still the PHY hardwares are compatible >>>>>> between these 3 SoCs. >>>>> Provide any argument. >>>> Just take a look at the driver. hisi_inno_phy_write_reg() is the >>>> function that differs between different models. But for all of them, >>>> hisi_inno_phy_setup() is the same. >>>> >>>> >>>> hisi_inno_phy_write_reg() should be moved to a separate bus driver. It's >>>> bus-related, not phy. PHY driver should not care how to access the bus, >>> So drivers are compatible or hardware? We talk about hardware, not >>> drivers... >>> >>>> but the bus driver should. The PHY driver only needs to use regmap_* >>>> APIs to "write BIT(2) to addr 6". >>> Different programming interface, so not compatible. >> Although maybe I jumped to conclusions too fast. Do you claim that all >> registers are the same? All the values, offsets, fields and masks? > > > I don't quite understand. I've said there are two register spaces. One > is the bus to access the PHY (i.e. perictrl for mv100 and cv200 and mmio > for mv200), the other is the PHY register space. So if you are talking > about the prior one, then no, because the PHY is attached to different > buses. But for the latter, yes. I am talking about the register address space which the binding document. > > > So here we are talking about two devices. One is the PHY, the other is > the bus the phy attached to. > > > The old binding is mixing all the things up because INNO PHY is the only > device attached to the dedicated bus implemented by perictrl. But it's > not how it works. The binding is for the PHY, not for the bus. > > > For mv100 and cv200, it's: cpu->perictrl->inno-phy. For mv200, it's: > cpu->inno-phy. cpu always accesses peripherals with MMIO, both for > perictrl and mv200-inno-phy. But if the inno-phy is attached to > perictrl. CPU must access the registers of inno-phy through > perictrl(Here perictrl act as a bus driver like a I2C/SPI controller).  > For mv100 and cv200, the difference here is only related to to perictrl, > not the PHY itself. For mv200, perictrl does not implement this strange > bus anymore, instead the phy is attached to system bus directly. Your driver writes different values depending on the device. For one model it writes PHY0_TEST_WREN+PHY0_TEST_RST+PHY0_TEST_CLK. For the second PHY1-versions of above. The PHY0_TEST_CLK is written to the "reg", so I understand that to the device address space. If you write two different values to the same register, devices are not compatible usually. > > > I don't understand why you say they are not compatible, simply because > they are attached to different buses. For x86, peripherals are mapped in I did not say that. I said that according to quick look in the driver and to your explanations you had different programming models and interfaces, which means devices are not compatible. > dedicated IO address spaces with `IN` and `OUT`, while for ARM, they are > all attached to MMIO buses like APB/AHB/AXI etc.. So peripherals for x86 > and peripherals for arm are also not compatible? Depends. You did not answer to my question whether you even understand what is "compatible", so I assume you don't. Compatible means programming models are the same or one is subset of another, so effectively both devices work with the same compatible and everything is fine. Answer yes or not: Can PHY1 type of device, so hisilicon,hi3798mv100, bind using hisilicon,hi3798mv100-usb2-phy compatible and operate correctly, so you remove hisilicon,hi3798mv100-usb2-phy from the driver and device operates correctly? Best regards, Krzysztof