From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 C03D91922F6 for ; Thu, 1 May 2025 13:52:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746107529; cv=none; b=uGxoIbhIRx7VDA8ILUkxTiuOtlc8C0eKGhKzvZLrAv+7QPgO+Ue21KJxezcYYjlWQmcAG5fZ4aBam5+CGncpm+WG8O5jwD1NBw6GfV1j5ONgkWpbP262Xf1czRBZTuBL/ymEOjUv7JTKf0/pNleqNTWpVist+8JyJeZSdYjWW4E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746107529; c=relaxed/simple; bh=TBF9cHqvsBBjMo+hOAdT/xXFYkhNbU6400lnc2ENgSA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HIAlBfWPOgC1UnWl7d7apCCyFQB6UD1bn0igWKxB/x8QPLRpY+sRZK9dOuTFE0DKjBznzhqQBogWH7sNJK54VwvcgfflkXu+4UOMt1Ele0/3/HjuGjSUhHZvNyY8xFOnKu/zWNzyY4OMQwVvzLIUcueaUKvuggUlWfPjv5BTBeo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=GppSX8kX; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GppSX8kX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1746107526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D7Og0tNFd6K52qkvPJcrj4sxsIAm+zhBLcJjT2wd0Ho=; b=GppSX8kXXxs+5J4Ad2Wp3MkWDI2xGvrLiWU42kum0uABmEmh4UWwn6Kz2ZSMDnPYcCdTdp AyVDFdufoVcjuoKrCbQwaxUJlmu2XcA1Rxmrm94rIlZ/ZMSqTxKWJr98+0F1znkaCsZbc6 aY0LulqoRygPin2kUtL32D9XWgVrNnY= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-687-nJJNEWtTOJa3lZu8ag0sgA-1; Thu, 01 May 2025 09:52:04 -0400 X-MC-Unique: nJJNEWtTOJa3lZu8ag0sgA-1 X-Mimecast-MFC-AGG-ID: nJJNEWtTOJa3lZu8ag0sgA_1746107522 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (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 mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4CC541800990; Thu, 1 May 2025 13:52:02 +0000 (UTC) Received: from [10.44.32.102] (unknown [10.44.32.102]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7DF311956094; Thu, 1 May 2025 13:51:55 +0000 (UTC) Message-ID: <5eefb009-f920-4954-9ef9-4a00791e3129@redhat.com> Date: Thu, 1 May 2025 15:51:06 +0200 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 net-next v6 8/8] mfd: zl3073x: Register DPLL sub-device during init To: Lee Jones Cc: netdev@vger.kernel.org, Vadim Fedorenko , Arkadiusz Kubalewski , Jiri Pirko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Prathosh Satish , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Simon Horman , Andy Shevchenko , Michal Schmidt , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20250430101126.83708-1-ivecera@redhat.com> <20250430101126.83708-9-ivecera@redhat.com> <20250501132201.GP1567507@google.com> Content-Language: en-US From: Ivan Vecera In-Reply-To: <20250501132201.GP1567507@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 On 01. 05. 25 3:22 odp., Lee Jones wrote: > On Wed, 30 Apr 2025, Ivan Vecera wrote: > >> Register DPLL sub-devices to expose the functionality provided >> by ZL3073x chip family. Each sub-device represents one of >> the available DPLL channels. >> >> Signed-off-by: Ivan Vecera >> --- >> v4->v6: >> * no change >> v3->v4: >> * use static mfd cells >> --- >> drivers/mfd/zl3073x-core.c | 19 +++++++++++++++++++ >> 1 file changed, 19 insertions(+) >> >> diff --git a/drivers/mfd/zl3073x-core.c b/drivers/mfd/zl3073x-core.c >> index 050dc57c90c3..3e665cdf228f 100644 >> --- a/drivers/mfd/zl3073x-core.c >> +++ b/drivers/mfd/zl3073x-core.c >> @@ -7,6 +7,7 @@ >> #include >> #include >> #include >> +#include >> #include >> #include >> #include >> @@ -755,6 +756,14 @@ static void zl3073x_devlink_unregister(void *ptr) >> devlink_unregister(ptr); >> } >> >> +static const struct mfd_cell zl3073x_dpll_cells[] = { >> + MFD_CELL_BASIC("zl3073x-dpll", NULL, NULL, 0, 0), >> + MFD_CELL_BASIC("zl3073x-dpll", NULL, NULL, 0, 1), >> + MFD_CELL_BASIC("zl3073x-dpll", NULL, NULL, 0, 2), >> + MFD_CELL_BASIC("zl3073x-dpll", NULL, NULL, 0, 3), >> + MFD_CELL_BASIC("zl3073x-dpll", NULL, NULL, 0, 4), >> +}; > > What other devices / subsystems will be involved when this is finished? > PHC/PTP driver and in future GPIO controller. I'm adding here only DPLL for now as it is finished and ready (part2)... PTP driver is now in progress and GPIO is in planning phase. Ivan