Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5101889rwn; Mon, 12 Sep 2022 04:34:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR6eQJlXYg/VPM6RzxejjLMQhtgcZ/basVmlaRt9QebqytxjG7pDAnC+CyAwaa0f9ZqrqmYZ X-Received: by 2002:a17:90b:1e47:b0:200:b9b4:ba0f with SMTP id pi7-20020a17090b1e4700b00200b9b4ba0fmr23526995pjb.245.1662982493591; Mon, 12 Sep 2022 04:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662982493; cv=none; d=google.com; s=arc-20160816; b=hJ/LtHZ/RC8tT1WQGeRCanXiY8C3tZ+f6S67xZghQhIKxKGL35LTDRetffDabsyx7B g4l52yoKxpKjWMJmyUeb5/F/E0V8WaDvopGk/7EyM1SN6mIkisf3fKV+qibcuNSYdRsg G0qwWKxC+p5DmTzhcslkJZnKs8B4NiKO/BynKfed9+T/vgJUKq9esZ7DSAtRF2Yb/Za2 Ifa6WVqFmHnyd2F167Yo1aKLZrjkcxYpboRbQiL3I7cKpgI+Pqlb8jcH+QxsBEnM095H 6vvhcdtpU+8nLm3A4/YHehTKyuJ8CyOarZ0/CD2OuaONeH1pvI1oI4mJGjZ4zcllNIH2 IqHg== 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=lxwUJLzhg/SlkzlxO//yJizvaeofp7qfwOh1B5rkqNs=; b=M9pTIRbDwBYAyh7Q8wM1xdK3j0/iYtzdTFOSygU6+tuSQWj4/vegPphVnqQCS6oy2+ 3m12G7u6H+umhvspiKqDarUl2AwkOaZHC1Qn9Kn2Jt6a6SbpN+ifxbKU9A5FUvOCe3Gm rNYHyelHcNj2l6e50YP3x74GTj+Mxj3OpXpVYTo8WgaRl5bdx2YdzTnm30YvTGsFfOPN 69cNdf0kp+40JmGBNmG6vrzeu5AoPAJophKbbaO+qS2X0dmJlONm7GUKNAgGEWwORJkF PK3ndFebhzJMv+wBeJB22ccCwlq77jqCiyjNzZkIxn7w2HbZFMZjROl4kN6YNraF1Y8Z 7S5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=dIPYNesc; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a634c0f000000b0041a77ebb731si8464348pga.294.2022.09.12.04.34.41; Mon, 12 Sep 2022 04:34:53 -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=@intel.com header.s=Intel header.b=dIPYNesc; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbiILKyg (ORCPT + 99 others); Mon, 12 Sep 2022 06:54:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbiILKyd (ORCPT ); Mon, 12 Sep 2022 06:54:33 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D7CCD86; Mon, 12 Sep 2022 03:54:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662980070; x=1694516070; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hlBDz53+flWgbd1kP2vmgg1tnZZa5Xxm55qgoo4qc9s=; b=dIPYNesc2xZt7KeQw1jaf2uhrjVkgIfNX0/DAsa0vvescMQ8lS8/T5jg sjZsv+ECSZxRIVw/3UVjImEiBxG9tmBfWRzVe/gmVxCq7s2foNa0wsR+q 6UFmvshu1anZ1i+eIxFSdm4s7EDIzbqptIGVzFPqJg6QUsQaXF/JQKmMb 9aQ2JvPYfLXyWsnrpcamrYths152PjxGUpyChYg+Ph4SmiUwHBwZbgT+T xnzot4CJlpMAZiEAxzZT1WD/W06b8GWJVgeWs+IASJCNZCcu7cZR8SZ8s GMzd+i0dSeuMbc128KjzwmatEW91RGc21CHonzXaJ9pCIffaxZG5dNrH7 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10467"; a="297837609" X-IronPort-AV: E=Sophos;i="5.93,310,1654585200"; d="scan'208";a="297837609" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2022 03:54:29 -0700 X-IronPort-AV: E=Sophos;i="5.93,310,1654585200"; d="scan'208";a="567122849" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Sep 2022 03:54:24 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oXh52-001JDf-2Y; Mon, 12 Sep 2022 13:54:20 +0300 Date: Mon, 12 Sep 2022 13:54:20 +0300 From: Andy Shevchenko To: matthew.gerlach@linux.intel.com Cc: hao.wu@intel.com, yilun.xu@intel.com, russell.h.weight@intel.com, basheer.ahmed.muddebihal@intel.com, trix@redhat.com, mdf@kernel.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tianfei.zhang@intel.com, corbet@lwn.net, gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, jirislaby@kernel.org, geert+renesas@glider.be, niklas.soderlund+renesas@ragnatech.se, phil.edworthy@renesas.com, macro@orcam.me.uk, johan@kernel.org, lukas@wunner.de Subject: Re: [PATCH v1 5/5] tty: serial: 8250: add DFL bus driver for Altera 16550. Message-ID: References: <20220906190426.3139760-1-matthew.gerlach@linux.intel.com> <20220906190426.3139760-6-matthew.gerlach@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On Sun, Sep 11, 2022 at 08:56:41AM -0700, matthew.gerlach@linux.intel.com wrote: > On Fri, 9 Sep 2022, Andy Shevchenko wrote: > > On Thu, Sep 08, 2022 at 11:27:03AM -0700, matthew.gerlach@linux.intel.com wrote: > > > On Tue, 6 Sep 2022, Andy Shevchenko wrote: > > > > On Tue, Sep 06, 2022 at 12:04:26PM -0700, matthew.gerlach@linux.intel.com wrote: ... > > > > > + dev_dbg(dfluart->dev, "UART_CLK_ID %llu Hz\n", dfluart->uart_clk); > > > > > > > > Isn't this available via normal interfaces to user? > > > > > > I am not sure what "normal interfaces to user" you are referring to. The > > > code is just trying to read the frequency of the input clock to the uart > > > from a DFH paramter. > > > > I mean dev_dbg() call. The user can get uart_clk via one of the UART/serial > > ABIs (don't remember which one, though). > > I don't think UART/serial ABIs to get the input clock frequency would be > available until after the call to serial8250_register_8250_port() Is it a problem? > which needs the clock frequency as an input. -- With Best Regards, Andy Shevchenko