Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp155039rdb; Wed, 21 Feb 2024 22:13:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWNzb6icL90aQX8+vxLmkHsUsUt1qovjMrGpveJNMcbsDQL+sEEHJva8HOSP5Fmy7Sv4+enPrKQQqaOcyAj1GXZHpkQhlJ/N+bXz1+AnQ== X-Google-Smtp-Source: AGHT+IEpT3kU1kxqq97SWWtCWPOncVkENGnpeY/vPXI10GzoyA6fHcGtgv2ekDhQcFjMHgYQhqwI X-Received: by 2002:a05:6830:1304:b0:6e4:31fd:bfb with SMTP id p4-20020a056830130400b006e431fd0bfbmr21481729otq.27.1708582414575; Wed, 21 Feb 2024 22:13:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708582414; cv=pass; d=google.com; s=arc-20160816; b=K8m/1bi7h9vmIVa4JUn0Hyo7+u7ev38v5DLFUfmQxpC/OqDxKsTWzufkNhraDfe/pa 3lJm5tJsc8+qGnyQc6shx8fYZuzfWDARoGA2gOGRaSmdJ39fwivdJFeFIB/Ap7tYeh1Z 4MCHIWkHdPKlI2ZZWn00tzJBC7IQI8mQdFBYEUEIACl7+6x3JAjMJLtWS0wuaxnESFwx 7xd3LwoCMWFkTaN/VlUCUxZObvgHnMenzok8vb3NYhBJfw8UZXtQFinfo1a9YoNaRWZM H0WO95vwyOdbve6b2TklsP9LoBdmA9APhhFjiicDdbtWWEGxbGJ3+JV0b4Z9K6p+c9S3 bwYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=5PRzMCs/kZquzKQw40BAsXZ+UEGKZHQ+vZzZ7mWQVow=; fh=k2xXmjz4oFD5hzZR46kZ1s7aXbeqx4P3ucNyfTVWlSo=; b=yzkCmmQbTzY9wqIIY91oxpr+12NCaERMEpuEVqiaUqP6TutDW/3UpbHZcskwIrkG4L hSxMD3EEb0gzGIkyxcsPXbm3EgYyXstQiFLVy+hsRqla/6AUku3VFy+p/vNzDFkgwDLt 03syrGs6/m4PKlnG4wxVRUnR2Jr7oj0zb6hQe4nInNJQ/6Cw61wtlESFbCO0gSBTNuEP cpjpgl1E68CkZjNIfKsp2OirE0lbXzmnIbD/K5X+xSUNwYge/08JOXxw+GDQqN5c6zzO tEM7qw/lcpjOiKm6I/UOoq3r8i006BUZanuYZTFdY+h4uf/VS2jBSNzxo+AkH8lPUWLQ YPHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FT6BOzjV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x20-20020a656ab4000000b005d8e221d9f4si4055593pgu.77.2024.02.21.22.13.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 22:13:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FT6BOzjV; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 888DAB23AC2 for ; Thu, 22 Feb 2024 06:13:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4780917593; Thu, 22 Feb 2024 06:13:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FT6BOzjV" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 63C8A1642B; Thu, 22 Feb 2024 06:13:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708582399; cv=none; b=u5RRDIPkDynqRUweNhvKe+kWX/sLka3auMVUfjH9geLnMH6dFfxjYMX+tNktkgpYOCVrAzXcNQQU5H1P2zC2Bxv89/aGVJdT7XJgrqE5c8djIcHU40ggrY9f3JY1hKQhy3t1I9mtW89snfn811+qLH85cCb2FdiT4OK7Dhzd0VI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708582399; c=relaxed/simple; bh=3D4XNY0tn/7mR/t/EaEf8fOLVmE3aQudhqYfRJU1Owo=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=qg4s373NUwOTU+txpEzIMj8pOvcxdxhx0zNhyJuyHpMBcqZVVJpK5YsJtGu+IsCJHz4PqZ2VvdDs5vfvsk0MPby2mQDSQZbEjtFl9d+L5wa5ZAQTprDMhnY9vYBOSgjuJnTmzawLF+N4bNhdzH8K01mJb8RHVNP+JKX4Bv6t71k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FT6BOzjV; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF10AC433F1; Thu, 22 Feb 2024 06:13:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708582399; bh=3D4XNY0tn/7mR/t/EaEf8fOLVmE3aQudhqYfRJU1Owo=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=FT6BOzjVT1npJU5bqbEqb7SqzVKvjL+ie624eEmdFee24K044Q/LjKUUc4RP7rlSh XA6/hzTf9hr4SoQd3/P+3Xzv/JXHxsOeEN2IDvmDJbkWAFRP0UKQvLpbkm8L1HWobB CmY2b0R0SZFrVdM1IVXGOfjplsr19WhfjOE2ps0DS5K9MubONpH75dJtmiuomp8jgI qx0Nmqu+xMdE5qQvURT4Xj2LDnnJAbNtlP9+QMa3mPExYM2BLy+Drnm77F2Ar5lpn7 qhzACUoauSj0xooP34OQeiRQcYTArHsufCCVbLp+YzLnV40SyS1J1GwEEF4GwkX/Az pIOUY63uGNKPA== Message-ID: <654a33c729af90d8d5bd70d320fa6f6f.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240221-mbly-clk-v7-2-31d4ce3630c3@bootlin.com> References: <20240221-mbly-clk-v7-0-31d4ce3630c3@bootlin.com> <20240221-mbly-clk-v7-2-31d4ce3630c3@bootlin.com> Subject: Re: [PATCH v7 02/14] clk: fixed-factor: add fwname-based constructor functions From: Stephen Boyd Cc: Vladimir Kondratiev , linux-mips@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Tawfik Bayouk , linux-gpio@vger.kernel.org, =?utf-8?q?Th=C3=A9o?= Lebrun To: Conor Dooley , Gregory CLEMENT , Krzysztof Kozlowski , Linus Walleij , Michael Turquette , Philipp Zabel , =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= , Rob Herring , Thomas Bogendoerfer , =?utf-8?q?Th=C3=A9o?= Lebrun Date: Wed, 21 Feb 2024 22:13:16 -0800 User-Agent: alot/0.10 Quoting Th=C3=A9o Lebrun (2024-02-21 10:22:10) > Add four functions to register clk_hw based on the fw_name field in > clk_parent_data, ie the value in the DT property `clock-names`. >=20 > There are variants for devm or not and passing an accuracy or not > passing one: >=20 > - clk_hw_register_fixed_factor_fwname > - clk_hw_register_fixed_factor_with_accuracy_fwname > - devm_clk_hw_register_fixed_factor_fwname > - devm_clk_hw_register_fixed_factor_with_accuracy_fwname >=20 > The `struct clk_parent_data` init is extracted from > __clk_hw_register_fixed_factor to each calling function. It is required > to allow each function to pass whatever field they want, not only index. >=20 > Signed-off-by: Th=C3=A9o Lebrun > --- Applied to clk-next Hopefully these are all going to be used.