Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp155065rdb; Sat, 17 Feb 2024 03:06:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWwBv95OYYC1+6y8R5iELkSf1I70wGLOcfKwPPr/zz7YcSgI8WA4d2GCY6eaf38xOwCSWj8q2z2nZKYlt2mYRrXQ4vFLlhXHL7WYK1RHg== X-Google-Smtp-Source: AGHT+IF8QmWO6c7e6PbF7BBjHcKQgDVAONK4/8wGeN4OpgO579dIMXd0gLcmkA/CfWqJNhE6vhfH X-Received: by 2002:aa7:84c3:0:b0:6e0:5960:861f with SMTP id x3-20020aa784c3000000b006e05960861fmr7141300pfn.17.1708168014933; Sat, 17 Feb 2024 03:06:54 -0800 (PST) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k28-20020aa79d1c000000b006e07d6e2dabsi467956pfp.167.2024.02.17.03.06.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 03:06:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=KKXRGjpC; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-69823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 971DB2823B6 for ; Sat, 17 Feb 2024 11:06:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8397D60DEF; Sat, 17 Feb 2024 11:06:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="KKXRGjpC" Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2013.outbound.protection.outlook.com [40.92.107.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55A955916B; Sat, 17 Feb 2024 11:06:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.107.13 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708168007; cv=fail; b=r2A9Qr3B6LfHPbilp7nQ2ZdoPBaRF3qQVKQ/q14ZJFE0iKkCR412vK5WZ7tjj3B2RDn+VvQJzvaAsEG+6ur0BGbhtaBbvSWiWpm38u0JU9NZ6f/Z0zY3ngJLhAaHishj9XJdc/LwmQF3gJeZKMSVQJD/XmVHl0Z5UO4qyiAq6lo= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708168007; c=relaxed/simple; bh=aAjfHWxwljUP6iRNioNuS8e6gs6zSTkbJpZCo8PI4AQ=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=RhSjIwz2BP4TcQARPxkNvDLWLbMOxYl1SZzciAmCj20kPgWGDFb42Qlj03HVmewKbakrwmMVUZ8Z82kFV4fcBNMpPpNwMIK+ddaYn7fRWy+YutbA6D8heEu8Eu51VPhB0hnXdiGHQJ4ukzfmORVhxJbIQGOroEDk5Umjor/kxxQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=KKXRGjpC; arc=fail smtp.client-ip=40.92.107.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZMcY0SCdj7u/x31DO6XfRYESYUfWBWitH5W6gUsfajQpbxun55Kybj48bRhaQ6X5dvwpSKaczXJyvq20TBx4AT36Sr5PrHWb5qQCF767FhIyjhMdw8XELf9I6dJs7PqU3hpp8UB29nykou++kcYVbK1AI/dWtbB4l6550Ok5scKD64XGSkVavurvgCNhzAQZb0CryQ1iUpO4SKhQIXVLokjewQ5btYBZGNUXFbvL/TY8cazmyBqkTaPCw0MOdwpkBy//egIsnnUf5PSmhJcbxfk8yyYWTv8siahrjSBW0uLWnb1kcWduN+Yu4t86iMlJiT2eO44w86mHGGulgWqnwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MYab6ynoNw18HunuR9m+XjiPPLA9mN8lmDgzr+oI+vc=; b=h5x+ZgnqNBreutZcFNbOyvVlXMztowzucUvKH02QUSqqZRxLitSPYKC322kNWVQEWCTUfoWFnbi8V26B4FHT1uMYqSVt7nbFNBR3q4tx92es67xsu1rmItUKWIo08lJTMu0drJ5abyp/kxLXIEBb+GMrGnDFNcmNMJsqAa5XYWc1niXTBMVSwlZJmWwju9S8tRi5UhJ8bUJvEGZ2m0sVDnxRgbwS//4AsyBCSjfEG8F7vIoXcX66uccS5IdfHsVH7KNGMwULl48qRQg5k+8AJ83q+KW6ZrnGgThT1K3Gn/ra/NlRbjwKJm/ZMlI9MkBc3uCiespPyXG1Zieee5X8Hg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MYab6ynoNw18HunuR9m+XjiPPLA9mN8lmDgzr+oI+vc=; b=KKXRGjpCkchbzfTxMUK+etVpQVaGtj8nNIryR6HfZQgsYEcg600TVVA0iIrb6HLq8PcEqzU++tsotnHoWg4guCjvpCQ4EV1td3/qhlqRzo4jz1VeOMKWu68CSj6z3RgYVuA8xlLZUnQVKHcDp71ZTMDJRMmkCVUvQptgz1XfvkcSt2r3jsIzl7NlE9VWC3N4Ve7NgIRzdkw8rFsCetKLLk9HqBkfScuC6WH3FEKiDayRLYmO9HGV+WvamlDqPNUyBO8yP4L+rGl8+ldk0n7sPhihgz2GIL34Vpc2cWJPjztP5FTXxorgX+tWVj95R+QbQIaRXB3RyeIKPJxyx/pvVA== Received: from SEZPR06MB6959.apcprd06.prod.outlook.com (2603:1096:101:1ed::14) by KL1PR0601MB4467.apcprd06.prod.outlook.com (2603:1096:820:7d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.31; Sat, 17 Feb 2024 11:06:39 +0000 Received: from SEZPR06MB6959.apcprd06.prod.outlook.com ([fe80::9a6b:d813:8f4b:cba1]) by SEZPR06MB6959.apcprd06.prod.outlook.com ([fe80::9a6b:d813:8f4b:cba1%4]) with mapi id 15.20.7292.029; Sat, 17 Feb 2024 11:06:39 +0000 Message-ID: Date: Sat, 17 Feb 2024 19:06:33 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 0/4] phy: hisi-inno-phy: add support for hi3798mv200-usb2-phy Content-Language: en-US To: Krzysztof Kozlowski , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jiancheng Xue , Pengcheng Li , Shawn Guo Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kishon Vijay Abraham I , David Yang References: <20240216-inno-phy-v1-0-1ab912f0533f@outlook.com> From: Yang Xiwen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TMN: [ss7Xg1dj6xPxdu4FNqnL/Ldj7nm2qEhBZS9tKiz8bJ7q/vFquJCWk/itnuX6pVEwwxWgLq90gD4=] X-ClientProxiedBy: TYCP301CA0070.JPNP301.PROD.OUTLOOK.COM (2603:1096:405:7d::12) To SEZPR06MB6959.apcprd06.prod.outlook.com (2603:1096:101:1ed::14) X-Microsoft-Original-Message-ID: <4c0f651a-280a-4cd2-bf40-ce45458d71bb@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB6959:EE_|KL1PR0601MB4467:EE_ X-MS-Office365-Filtering-Correlation-Id: ce662c16-89b5-46f9-6b2e-08dc2fa883a0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ssILq5sKD2EFXrz1iZkSCyTlONNlianEBbvgg9HvsxuNa97Xgcs9iTkmX95/ezPMXsMiCCdckbyG+lCYpi3J+a0CwqWT4aoVe5CpT4tIbyLj4zkuz9MToBrDHEOKxNT6Zu4aCa9Oq+mQK+5wGaQiXJfQLflwNk3DeKj7oYnxiKClX7y6R3cLObbUVMx+MXzVCkZag0ZXl1MqNmMiCcXAwF2yfuB6ftx3bwvDHZ32Lwm6Eb/ydk/Kgx4nBN25TrGp2LmXuQWnUr9+GfD1cCzMetGsgp1G38o1BiYG24etTHsmHlzlOTdK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f-8?B?Y0FENHhwb2YwQUk2NCtqMkVyUVdEalJnbmdxdVpnMzdHWVBmNVNyaHBrMVYv?= =?utf-8?B?RDFZQ3BOd1JhK1d3d0ZBRlUwdHdWR1ZHNkFlVjdFWEFLNHJSOWl5WFlncmhk?= =?utf-8?B?R0V6WTBienpCQkt5bXlDR21mTUVQZ0hpc0wrdlFNTjRwcCtia1VXQjBuaVdU?= =?utf-8?B?MzAxeDZuZms0OE9aVGxNZU1XSmwvS1lOQ2cxSjF2WHVVUi9pQ3ZQUnBWNHU2?= =?utf-8?Q?hoinaf58fQWMCtxpf4nOAmDwBHudJRgQly1MYET?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce662c16-89b5-46f9-6b2e-08dc2fa883a0 X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB6959.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2024 11:06:39.0467 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR0601MB4467 On 2/17/2024 6:18 PM, Krzysztof Kozlowski wrote: > On 16/02/2024 16:21, Yang Xiwen via B4 Relay wrote: >> This should be considered a dirty hack. The proper solution would be >> extracting write_reg logic to a separate regmap driver. Leaving only >> "write BIT(2) to address 0x6" to the PHY driver. >> >> The initial commit is already doing things wrong. The following patches >> adding hi3798mv100 support is also very confusing. The name of the >> enumeration "PHY_TYPE_x" is very misleading as if it's the phy which is >> different across SoCs. But actually it's the bus (i.e. how to write to a >> given address) which is different, not the PHY. > I have many bounces from your emails. Please do not Cc unrelated, > non-working hisilicon emails. All except one email addresses are added by `b4 prep --auto-to-cc`. Anyway, i'll remove the email address that does not work in next version. > > Best regards, > Krzysztof > -- Regards, Yang Xiwen