Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5427039rdb; Wed, 13 Dec 2023 08:19:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHB6XzFbP5Mu2YRVJDj8JAlu1TYbLNfRZtVeRqpQP3d5k0DEQoYdsfWhmDIuDaE7RSaKR8Y X-Received: by 2002:a05:6e02:1d86:b0:35d:591e:1a3d with SMTP id h6-20020a056e021d8600b0035d591e1a3dmr10334223ila.2.1702484360628; Wed, 13 Dec 2023 08:19:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702484360; cv=none; d=google.com; s=arc-20160816; b=gBFAl0Mm6l8Zw6j5wY4ag8hP8GFsS2g2KdegMshmV3KSrfpyTtnnESjlUPOHh2WDaf u0Z1FPoUOvkA6V3DtWmulmsnB+ayjv7E0V6mMJZ6BEpXzey0T2k1XUrnTk7vJxTC6Cmo vZhyQ4WbXQdUus47HtM/Zv0vFATzeyDqGm7pWJQnoNMH7JbKo9mwh1ZDVHcvEiQ+6PhO P7c0uqa189k4Wt++4kbDl+igzaWv6lWGPhwCaQQXeBJIfWvAHUV1+wsodt7UnuRS1h3a INl7OAGJXipGNw+bUban07SfZDj1aPvqkSykaAzWzq3Zy63VoXKchDZ0Kskq7r0SrbLP qZQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wE4suJu0H994u86Oswo0pjzNPqiru7rku/X+AMpCXKg=; fh=656B8pR1znJdePtVejOmwPw+cVpuL/p3neo65MfaXJY=; b=njopGHWsDFWSkbHTsUXGBmFkh2aPM+CXtu5Lax1gs5Ji9vMJzCQ1C8mtVxGThWUE4J 6ibSRWd03e5p9dhx2cOX5q9/5L7Sq7B3MsUxevkLIabGYVxV38+G5WPtZ2HZynvxxuh+ IhTkrkCMVAWk7LP2rywinHXe+aPWPsVMI20aELmZ7k/qsL8BFfv6o3gQQbU2YHhEVUpz 8x8sDLDIWMEK6xHce3pezTuV/sFZReAYYq2oawQlWbcapkupxvfOVbHBhBmbVoONoHTO 6EYrJfEblsmcv5xw8fIUf8kKw+koJ5qSOWw/P3OLbHFNtGBd1UoE5ovFsIhUuy18Y3IW Iwpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oo6LBVHr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id w3-20020a6556c3000000b005644a9be955si9860409pgs.179.2023.12.13.08.19.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:19:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oo6LBVHr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 0347B81A8A81; Wed, 13 Dec 2023 08:19:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377447AbjLMQTD (ORCPT + 99 others); Wed, 13 Dec 2023 11:19:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229975AbjLMQSz (ORCPT ); Wed, 13 Dec 2023 11:18:55 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C46619F for ; Wed, 13 Dec 2023 08:18:58 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65902C433C7; Wed, 13 Dec 2023 16:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702484338; bh=KKtcCxUBiYEf/ALdZbGfMASRpIGnU7Bu8dtqIeEgDsI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oo6LBVHrptCd7MKbR7lQ0IdPWsvdjqwSdmXOFwlaku+/UoTXVmsUn7oHh2to6ftjG N7efZNWJw5aD3jrdZpKXE3mUyrHXd57nfH54UAIJonJ9SVbjgXSSiPNu4DHrOMgK2u WiTiUKSDruB3sK9YGa3LhzKnlwijGWiRdryfGv1UCcMKVrJZ2N19xvbnMVmH/8H+0I O24Ku/aZo0XJsV1s4DvcR6FIm97l0sPWHqTva3x51w4m+Z7lmzvGRI6YPeUe53SrGs RPhLbQOAQ7T2Z3z0ST0opSLTrE+CUGN+/OyEXXsK0tEA/mJDWJxWSLfAXsCRfE0xCf FP0eGmt3ewgtw== Date: Wed, 13 Dec 2023 16:18:54 +0000 From: Lee Jones To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, Alex Vinarskis Subject: Re: [PATCH v1 1/1] mfd: intel-lpss: Fix the fractional clock divider flags Message-ID: <20231213161854.GR111411@google.com> References: <20231211111441.3910083-1-andriy.shevchenko@linux.intel.com> <20231213161352.GQ111411@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 08:19:18 -0800 (PST) On Wed, 13 Dec 2023, Andy Shevchenko wrote: > On Wed, Dec 13, 2023 at 04:13:52PM +0000, Lee Jones wrote: > > On Mon, 11 Dec 2023, Andy Shevchenko wrote: > > ... > > > > tmp = clk_register_fractional_divider(NULL, name, __clk_get_name(tmp), > > > + 0, lpss->priv, 1, 15, 16, 15, > > > CLK_FRAC_DIVIDER_POWER_OF_TWO_PS, > > > - lpss->priv, 1, 15, 16, 15, 0, > > > NULL); > > > > What an ugly interface. Intel-only too, right? > > Nope, de facto way how custom clocks are being introduced. > See clk-provider.h for several similar APIs (that require an > additional, custom, flags to be supplied). This call only has 2 call-sites, both Intel. Anyway, just checking to ensure both are being fixed-up. -- Lee Jones [李琼斯]