Received: by 10.223.176.46 with SMTP id f43csp3609677wra; Mon, 22 Jan 2018 18:09:25 -0800 (PST) X-Google-Smtp-Source: AH8x225R6aqPdUZSGXvbzgg34MEPNrl54ILLSWGiGrtOCM5RC9MHi/UgGXM8cSme3fILiaEjQzNM X-Received: by 10.107.138.208 with SMTP id c77mr1553733ioj.280.1516673365694; Mon, 22 Jan 2018 18:09:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516673365; cv=none; d=google.com; s=arc-20160816; b=tEf0b3vNvCyftwcG+CbkkWtAQG/77x+PI79cdWrGd7HHkh18GGOjX8dhwwUt0OHje7 AxK8/xcTBbpwg8pEXzsh2tfpnJQ/hCT5BWmz5v7IJlDc+MtOsjeB/X1UquOEIvC1ubGw p+6Uad1/ZQjRMvTCSYQvmWCKO7lkrWlHYC26pRbrOrOD+6Dzc0PWQ+WG1VJFyehTcxBS YFq55UbqCfW9V2/xjlyJcIConS+vLyuR64ry+5oHjc0HK55iu6MonYmz3yiqJ6y+wz5p TSBMkXXi/68nhsC720qHcdW5pmjtiDuqAM9Bzl2uVO1IiBIwUKPVNTDPIssyoycdoHn2 k1hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=hzxk9kILs27zAUIgxcUZvDZ/wSYYHcc8Wmvoo7ttWz4=; b=KdyhBeNbRDmIzvYJr2kfsQeULM3PddQM2DD3PAMbXQUM6/fxshlCBqcfODHxeeAWIh Q+3qwLRCgd4aTcPMWSRVtrx9dnqFPaIXnJIEWtqFxrIKK93cc4BgQ9OA7Oq+5hh1jGCU 62yOqf2StXvAqhW14w1ouoDD7E4RhNpK6TWK9wf+u0bPGHVTGAAzW6S+CVcjcT4sBIHV 1xW/ZUtJ+C8m0X15FArCMheLBcF8Ae/JcsCXfpERXPpNuO9+IoX6m33LhceCxg6dPzkz W6iIrWUikGaITkmvEcG5vSzpT75khwv5wHyPImn3iaD7+fedrLya+3OSg/36w7kGQpuG 7vwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e5KDym2o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g138si7436999itd.172.2018.01.22.18.09.01; Mon, 22 Jan 2018 18:09:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e5KDym2o; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751195AbeAWCI1 (ORCPT + 99 others); Mon, 22 Jan 2018 21:08:27 -0500 Received: from mail-pf0-f169.google.com ([209.85.192.169]:46597 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751077AbeAWCI0 (ORCPT ); Mon, 22 Jan 2018 21:08:26 -0500 Received: by mail-pf0-f169.google.com with SMTP id y5so8554731pff.13; Mon, 22 Jan 2018 18:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hzxk9kILs27zAUIgxcUZvDZ/wSYYHcc8Wmvoo7ttWz4=; b=e5KDym2o045W2jqdmBe2CCtHOEYfP60M39ledvC5x54uK6GWnyfDr0QEuJyXvERDdX k0wdG3QZXG9LsFtuY56tKyaAV2zES5hTC/+v2vDDt6na0/uHaKwSDeX9MOrPbu9xF/Nx pursMg9T1QMdj1tBcI8zzfWTVBluvozBrwDdlfWabmo/vxGR9KO2617uUes/BAqdyKGW AB2FH9HSISDfaPuiY1iGKesVsBmHtWwABDj+pvzBLk19WRA8XpffH91oPCuoJK1TUOP4 RREumrlHWSd60kA7OYh9Ls5LGrd6a5iK+SPQJpRuQaZhLIQQQKZeDB6LmvIKJv25+qPQ F6yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hzxk9kILs27zAUIgxcUZvDZ/wSYYHcc8Wmvoo7ttWz4=; b=QXilpOMZAlmYAhzXdxUhS2O3qA078U40SBXjkmWSY+1M7opQakxQ0uL2SmM3ZS+qEZ WvXe2C5reAhVEZl2Iu5QD9BvIpwg6VjMhrg6VzGNGJyyTILGLGE9qoQmSYtmv9R3bXIz f+8nCDbi4lryYbT9TvSbypg1R286LwxqJmo2AS9ftvpSY/u/JGTtlBIWfsFqLmH33HI4 gbZVcZVtVuHsdv0gBk517XvGqgNL0I7m+fVegdqKh2W6170FpufGShS5GbpT1DoLtHGF 9Kt+BiPhNjfjOKAcWzoc1Z0eyYvuttpW6JxEfFbIdVDNFM1Lnu2NgqRWZ9YRKCnVGw0s wc1Q== X-Gm-Message-State: AKwxytf35fYG8PoD9ZzLj6FG9QlAHuhRJBg/sMp+kYeUb7PjUDkgvm4T Ig6m3BFbJCpmLd9nJnOAD8I= X-Received: by 2002:a17:902:3183:: with SMTP id x3-v6mr4343166plb.290.1516673305350; Mon, 22 Jan 2018 18:08:25 -0800 (PST) Received: from [192.168.1.39] (59-120-186-245.HINET-IP.hinet.net. [59.120.186.245]) by smtp.gmail.com with ESMTPSA id n24sm2498845pfi.33.2018.01.22.18.08.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jan 2018 18:08:24 -0800 (PST) Subject: Re: [PATCH 2/5] USB: serial: f81232: add high baud rate support To: Andy Shevchenko , Johan Hovold Cc: Greg Kroah-Hartman , USB , Linux Kernel Mailing List , Peter H , "Ji-Ze Hong (Peter Hong)" References: <1516607927-8887-1-git-send-email-hpeter+linux_kernel@gmail.com> <1516607927-8887-2-git-send-email-hpeter+linux_kernel@gmail.com> From: "Ji-Ze Hong (Peter Hong)" Message-ID: <7d8c1ff5-06fa-28f3-c5e8-3211497a6b17@gmail.com> Date: Tue, 23 Jan 2018 10:08:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, Andy Shevchenko 於 2018/1/22 下午 10:55 寫道: > On Mon, Jan 22, 2018 at 9:58 AM, Ji-Ze Hong (Peter Hong) > wrote: >> The F81232 had 4 clocksource 1.846/18.46/14.77/24MHz and baud rates >> can be up to 1.5Mbits with 24MHz. >> >> F81232 Clock registers (106h) >> >> Bit1-0: Clock source selector >> 00: 1.846MHz. >> 01: 18.46MHz. >> 10: 24MHz. >> 11: 14.77MHz. > > Hmm... Why not to provide a proper clk driver (based on table variant > of clk-divider) and use it here? > > It seems too complex to use clock framework in this driver. What do you think about this, Johan ? Thanks -- With Best Regards, Peter Hong