Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5425940rdb; Wed, 13 Dec 2023 08:17:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYpiBkoOPHO5lPpPsEFFB4RXGKreD5sYzE/2UZ0tMO2xwvh4u9+FteCmG3U3rS+BhjLbDX X-Received: by 2002:a05:6e02:1c2f:b0:35d:59a2:929a with SMTP id m15-20020a056e021c2f00b0035d59a2929amr9634348ilh.46.1702484255950; Wed, 13 Dec 2023 08:17:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702484255; cv=none; d=google.com; s=arc-20160816; b=vE2dfzMGIBrwekQ3/0bYokzIbPOqMMJkO9HS9d1F2hRcu/xxkf7+G1yhSHyOwGBIvQ i/eHHdKP84lixx8h+jRytD3vVHxDFR138h8qxbnvY+lbquY70Lcz82v9iiRCB+ogVieD v3yoLEYRIWaHdVytqwOPaPlAhK84DoJeUDQ2+9rxmqZ7Ptd7/BzD+FMIKX6FcfpKqu+4 4/4BrtGE5y1dQZTNBkGpAp8fcCVrDbikZi6ucRbukQGn622oInBpfEHUZ2FYjmAV2r5v 0BgQzppa/ceW7CRKZzshhuZ+Hhlct95qLWxeyXoagWipmOZwyd0p38lL7ufxHQI5oXUy sSng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=K8gTtBo0kYxIUXkvp5LQqTaDR6ZQLmkjTemgQw5vbdA=; fh=xiYSW5Wp9fJ/rjEleQhRl72AvLzaBFRuXIhfDsaESB4=; b=SQx97VJyhbcN9z5ihhYKuKdpeH1Pe8Qo0H6RwC51kwrncXXTYTbNAdRdyskSZDz+m5 R2/6rtCkLWeB/FLlLn+qJRVcWWmojVy3YrGmkrZPvd+P+Qjna9Hm4pMMvEaRCiSECZ59 xcReL1omdnnTLW/uNbvHf9WwCJiktqBuHgvkAXGGOqqH2UcLGCJkiKtc2sqjCsGsfOrt gkHFDo2/O5cV0E2CnAwZ5JJLpAAUAGfN7w6H0zIHMqa6bujDdp+DfFe2W8Bw/rTAqvH3 9mEUxUXDYym7mG9jDQpEmhLKveM8GUohJ0A1NkCTqkwATozDX9a/6BcBe9C71iijbDNn aMNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QXpXycAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id b2-20020a63eb42000000b005c278e32054si9533740pgk.677.2023.12.13.08.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:17:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QXpXycAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E8B4481A7D24; Wed, 13 Dec 2023 08:17:32 -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 S233180AbjLMQRS (ORCPT + 99 others); Wed, 13 Dec 2023 11:17:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233113AbjLMQRR (ORCPT ); Wed, 13 Dec 2023 11:17:17 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75DC4D5 for ; Wed, 13 Dec 2023 08:17:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702484242; x=1734020242; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rfezO9YRuzsS//mN/UEJzPu92Rwbsp/onIfsLfcaw00=; b=QXpXycAQKENM2e5BnAo/mnFaDeHRDY7XCDlkkXgB4DoUSgPXIIQepm3b YRtribFgaX2yvQ/ah351wnlYeAwV4V+1Tkdxoy5c/kVTZO9y78OcZXSmB 58a/efFZdtgBb0qBRQN1GUGjMedBqmir5LgkBcYOQLci1nhOjWky5JhUv yROit6VIQ2XbJ15Pbl3F0ILF1F/N7ZuaXz0eZhJe1z687mVlGs+hC5VGs mOksU+J1rsoQy+65ARn93asQSaxTVwxzSfvdWagZZ8N8/s4D/I8GYRE4t L3KAPSevO62W6DWAAP30qEZjOWAMFwd2p4DVx0+hrYZ6mh1f3CaIxcgrX Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="461461365" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="461461365" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 08:17:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="774001788" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="774001788" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 08:17:20 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rDRvC-00000005ZMQ-1EHC; Wed, 13 Dec 2023 18:17:18 +0200 Date: Wed, 13 Dec 2023 18:17:18 +0200 From: Andy Shevchenko To: Lee Jones 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: References: <20231211111441.3910083-1-andriy.shevchenko@linux.intel.com> <20231213161352.GQ111411@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231213161352.GQ111411@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,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:17:33 -0800 (PST) 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). ... > Have you also fixed this in: drivers/acpi/acpi_lpss.c Already pending in Rafael's tree, yes. -- With Best Regards, Andy Shevchenko