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.133.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 5CB5D37187C for ; Mon, 3 Aug 2026 14:45:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785768321; cv=none; b=GHjbSlYPLNgGrCHIiVC+9b7upyes5Mq0hv0ZcG1W0mROr3phJ2fIKS2rXWKPd+zuDOIsEo8pnaCtfyXt2mybts22q2PC3ZJsuurA9YkcvyJsqOhvhkpdCU5PCAYf17iqbF2IbL3EhUqZvsUBxkeLOJTXFK4sFFBOT+z5Bsd6BLk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785768321; c=relaxed/simple; bh=v84q7Nh8J5RnUECRZxODitRYsGNwHdr784yF/3BQaNg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TUYgpN6dncrioDUin9JZxsTRtqjymbaKeOK0ljCkFYzgvWJLypePckQDuglUqvG1qoGeL9X6RKmSN+rtVSJ8U9FFhBIbgUTb4RmIVsKd2R2y4pJJ7xSjaOSMxtlzvCmkr4NBBDWgnbxI+uNC+bsr4Zy0bjsxuhFWtDQyrGGhwtg= 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=L5WCIvE0; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=NHHlwttr; arc=none smtp.client-ip=170.10.133.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="L5WCIvE0"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="NHHlwttr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1785768319; 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: in-reply-to:in-reply-to:references:references; bh=9iDCDZV2asWOBXoCVGWr+sD7YN8hRKRT86USyIoiPOU=; b=L5WCIvE0FeXoNtlp7tAp77ZzHOSLiYSOGyJUMohopE0qTRLL4Db15naCwc6A0/2IfvsQz6 gdHA9lsTJ6HNrAJM0BfVYX/Au8+SrLPahc4pez48pFo5sbUEVNrS4EgyOB5PYJRvEB4HB0 e3tbXAMTxOO/tnL7ozkixVN9smLJuHQ= Received: from mail-yw1-f197.google.com (mail-yw1-f197.google.com [209.85.128.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-204-6zZ5DFOYPqyFhiY83R5ifQ-1; Mon, 03 Aug 2026 10:45:16 -0400 X-MC-Unique: 6zZ5DFOYPqyFhiY83R5ifQ-1 X-Mimecast-MFC-AGG-ID: 6zZ5DFOYPqyFhiY83R5ifQ_1785768315 Received: by mail-yw1-f197.google.com with SMTP id 00721157ae682-81e6ae12b42so49798247b3.0 for ; Mon, 03 Aug 2026 07:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1785768315; x=1786373115; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to:content-type; bh=9iDCDZV2asWOBXoCVGWr+sD7YN8hRKRT86USyIoiPOU=; b=NHHlwttrMyfU4HslmuAEIhGVGqOZqZxUPlFx7FevPa6kt/Wt1jiMwhjHBvFRudc1oO nnnnYYuo4+1XdjrOKjXL/RmhL4L3nwY0C1mTiZIWEIbVBk0CqnILKs+QteOKRcNIobRx prkSbr+L4voXxkXNm8cQ5AHBK0FKMIpxGrtAa7PV21dlq2CyabaIUOSxp/dL+DOYgpyt tO8WTjo5/2wZGBwtNjjea9MDyaCOH52JUr6ulbLGGcJW/BhBtXMo6MnGJpZomEKQyaiM YoCxH5q5tyviWFj74iVIlpI8Dn/6MA6n+Y8mod1U6FhjVVZM15exoKv6Yzb2eJz46f9W 0Eiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785768315; x=1786373115; h=user-agent:in-reply-to:content-disposition:content-type :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=9iDCDZV2asWOBXoCVGWr+sD7YN8hRKRT86USyIoiPOU=; b=h77Ldwr/QWn7It30BcbxoQJHI8wBy425p0ErixJmHXs/28iMNbywdGH4bXMMJK+ik1 DbcH/fqCkFFOMksr+eNapEmrb+VkNZ0XF3Qke7UsejSgxpsokxLEcpiNLOcFD43gBWq9 0KiYJMrvY93SfvcIGR5OzWWDnLSFDp6bXnVpHJbCLM5NlnIrR9wr/f4uH1dnZKxplNhK eZ0a/kDrw6aXa0xejd1okRVMK7WSKnoGbGhXYaIgplNeQA6142Nf8QH5MjIRfQLZ4Qvl fdpm2R0a92EmhU3QGaQ5jtvqj5EFaBffRpdMQPpb6EsUknp9pkt2vEMBpucnuwu/MbeY pwwQ== X-Forwarded-Encrypted: i=1; AHgh+RqvUyj0bqcSc2yfhmh4GRtRGqxecT++W82v1KQPQBgyhWA5bqwKVahAHDVKScWWAhUJgCROE9qg7HrOnJU=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+ZpePvXdlIzgNzBKu8aIccj0dFXyVUcnqqeKJ20S+cze1O/GZ PMRJ2Jip8e7V14U3EF+Vqwx9QjVD3t6AU1ly6YS1q/Mq5TVnhmp4eCBKwSjKnuh/x0aIanwBINl XjRV3wqUxvYOLyl1DIAWgfoOJ+gmyYL/BTWZx7pi8j8kqTnIAFjhnK9JfaFY8GVzn7A== X-Gm-Gg: AR+sD13YpLb3W44dtwpF2MhW/Jd7EU613EpMNHDPiAXvH35E7/5edIKtemNEW09MH9O HOF7UUfLB4guzmzVfyxLE+6kFiGXogN/g92lRCir2pgq3zj3dUUkyrLLR0sYr8UTwk3cInfBv9m Uy6FsxE3FiaIuUCz8LAyuW1gh9fgjCmgX8UP9mI5lU0nkVyc2QXl7dQDMIO/jJz21tvG0N8XH4s YGBDBID/5eOFs2mnTuBvDyPaY3bObRMOVQZ5lpLwo94+JlrRBlroAmU6mSBJTvBeaj1v9Ai7PK0 j9hBQSmdrfdv1FnovQ3nj4ujesQn7/3PU2x0wRRpPIBLVCGcgzz7ElmfyGWR6Qq/DYJCauoi9B5 1fSITf2fWQbsv85PJvr/+L0pks7PBwDLxsxw= X-Received: by 2002:a05:690c:338c:b0:81e:d23b:f8d1 with SMTP id 00721157ae682-81fd4bf5dbemr122418007b3.35.1785768315474; Mon, 03 Aug 2026 07:45:15 -0700 (PDT) X-Received: by 2002:a05:690c:338c:b0:81e:d23b:f8d1 with SMTP id 00721157ae682-81fd4bf5dbemr122417297b3.35.1785768314956; Mon, 03 Aug 2026 07:45:14 -0700 (PDT) Received: from redhat.com (c-73-183-53-213.hsd1.pa.comcast.net. [73.183.53.213]) by smtp.gmail.com with ESMTPSA id 00721157ae682-81fccf841e1sm56661767b3.18.2026.08.03.07.45.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2026 07:45:14 -0700 (PDT) Date: Mon, 3 Aug 2026 10:45:12 -0400 From: Brian Masney To: Louis-Alexis Eyraud Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Chun-Jie Chen , Philipp Zabel , Edward-JW Yang , Richard Cochran , Chen-Yu Tsai , kernel@collabora.com, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org Subject: Re: [PATCH v5 14/25] clk: mediatek: pllfh: Add configurable clock ops to mtk_pllfh_data Message-ID: References: <20260801-mt8189-clocks-system-base-v5-0-ac4410697cc2@collabora.com> <20260801-mt8189-clocks-system-base-v5-14-ac4410697cc2@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260801-mt8189-clocks-system-base-v5-14-ac4410697cc2@collabora.com> User-Agent: Mutt/2.4.0 (2026-06-19) On Sat, Aug 01, 2026 at 01:21:00PM +0200, Louis-Alexis Eyraud wrote: > Currently, the mtk_clk_register_pllfh functions always registers the > default PLL clock operation set (mtk_pllfh_ops). This does not allow > use a custom one, for SoC such as MT8189, that needs different > set with support for set/clr enable. > > Add a new field for the ops to register in mtk_pllfh_data structure > and use this new field to either register it when not null or the > default ops otherwise. > > Signed-off-by: Louis-Alexis Eyraud Reviewed-by: Brian Masney