Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3722967rwb; Mon, 3 Oct 2022 21:06:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5RRU4vQ7TCGOJ7d4RTOTojRhDt2EZrz8LJD0L0GPyuFPar8t3t1VCgi5LVTy6PY6MsMpSs X-Received: by 2002:a17:90b:1b4c:b0:202:c1a3:25ce with SMTP id nv12-20020a17090b1b4c00b00202c1a325cemr15729657pjb.232.1664856369981; Mon, 03 Oct 2022 21:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664856369; cv=none; d=google.com; s=arc-20160816; b=VV59p/0/O1gkJOXYgcAHc0hGR1IpWv8qRodsJfGpNmZehpkGL/ffhxt34CKFOflQ6G 1eyjTZu3+oZscBMJ3LeiBQHUKKFnYid3hFtxUMQ/pDh0aNjSZzKRxyzmcsjMh3WV/9CR gVzPhO/9pEqj0UVcX6WoilovZaOVXf5w0Det2oQHkWqgfcaVVAIbqOaIq5p468Cp6Fni 7TlulergHLksLQWikGBS2GAvZX76a6a0Vf3omPUvYZHyYwcG/csm9obodHktZdwu9Yp1 LolFgDVp6O56hIShVWMJjM8PgOXGoGHjM3G1d1HVpbEzwdWTqa+Orv1VUwrNnWQBpsXs oe7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=ehU3pSePbzri0KePyWSjjBINxgWQpiYhH7V/OSm5Wng=; b=Go6fwEcUBpKkKRW4Qazop1SNC06uhv5IxYmc4EB4FGayZUOg82xq57kSzHXAMqFHhE boEMYuA0xa09YGI4efnjO56r2kecPdy59fURgkREiU7Y6RX6QyX+ge1nhf66UTw7eOUP AZIa6t/Ii3CQwalMV+EV/MBZ6eN4Yp125sga7ZNIW9Am+0OzZBBaSs4W31tce33rswsN QJNnV3ywnt+lSpyhwr/cp63b4uOytoDLdJ4FL9RA7KRy9mZqgBEFZ47ypzqzCcJ19vTx 5mhyZOCQRAReq+8jvSg8ekciebwDEqS7WiuYNhzvd9F3JKnp4lBeMG+uQWqn6rrFCCtr LoHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DxP8ve9d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020aa78e09000000b0051bbbc5f0aasi11684123pfr.261.2022.10.03.21.05.57; Mon, 03 Oct 2022 21:06:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DxP8ve9d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229594AbiJDDvT (ORCPT + 99 others); Mon, 3 Oct 2022 23:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbiJDDvM (ORCPT ); Mon, 3 Oct 2022 23:51:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B194320BFB; Mon, 3 Oct 2022 20:51:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E5CDD61215; Tue, 4 Oct 2022 03:51:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42F3EC433D6; Tue, 4 Oct 2022 03:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664855469; bh=ehU3pSePbzri0KePyWSjjBINxgWQpiYhH7V/OSm5Wng=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=DxP8ve9dumPXSvnxKkAyDtoSsIbSkeCTYoXBZ9dFCJjXT2skD7D4TF6h7sVlsKkCT i37VjHqo/V9vPmMZPF2HTEYj6ECmIbg4nPRD6VHed67pQsqZBqhNEZds+t/zkKvkSC NCHIW1CHF0V00BTf0xiIkHSNZH5kCu4rAuGiLToIKDuMKKv71om5aphmVxuRfZUWa0 5lzW07I/Z6XwJfGwn54S4+CsSdy5s7pz86UHkZYuYK9mqL7XVqBIklY7l6FTjnhYej kcm/R/ABfLZ6KYXCs+rYEhPcCVr/dEcqYITRcCHPEzftEpUcE8z+z5fIeR+UaSEB3u 4IJVggGvyYFzg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220914144743.17369-1-ansuelsmth@gmail.com> References: <20220914144743.17369-1-ansuelsmth@gmail.com> Subject: Re: [PATCH v2 1/2] clk: introduce (devm_)hw_register_mux_parent_data_table API From: Stephen Boyd Cc: Christian Marangi To: Andy Gross , Bjorn Andersson , Christian Marangi , Konrad Dybcio , Michael Turquette , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 03 Oct 2022 20:51:07 -0700 User-Agent: alot/0.10 Message-Id: <20221004035109.42F3EC433D6@smtp.kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Christian Marangi (2022-09-14 07:47:42) > Introduce (devm_)hw_register_mux_parent_data_table new API. We have > basic support for clk_register_mux using parent_data but we lack any API > to provide a custom parent_map. Add these 2 new API to correctly handle > these special configuration instead of using the generic > __(devm_)clk_hw_register_mux API. >=20 > Signed-off-by: Christian Marangi > --- Applied to clk-next