Received: by 10.223.176.46 with SMTP id f43csp3001811wra; Mon, 22 Jan 2018 06:57:58 -0800 (PST) X-Google-Smtp-Source: AH8x224n7akoooZkko5nTSRQeN5TN8mXh2ET8T/8xrW6KmDPc3NuAYPMeZJMD9N/qEuZ873L8/Kn X-Received: by 2002:a17:902:7783:: with SMTP id o3-v6mr2146720pll.217.1516633078266; Mon, 22 Jan 2018 06:57:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516633078; cv=none; d=google.com; s=arc-20160816; b=P/w/3Xb1uTP0Wc7s8/3YDLctWeLUbA0Cm5OnayRvrFeLey5ybZ7HXk7pZP7+kUy/CS UqN/vPLIHcQQvogt07Qi1X7xKoPbxqsWeiwaL+Rr85Bq6J2ol3Dba4sIiLRb6OeZURmE 3HNnK39Nj9ZimdjpW7swN5pKrfAwdq0Z+ke2l+4dRr5CiNtENjRkujQPAMa8YfrUuRsF snp/rYX0H/RILM1jeIS4t4Q+Ej7z/yZeWT9M/PPadkv/12/5uB55KSWWIPs98DzbNYsO zko7HdgXn/E5qstmSMeuoo3uCWZmoGJgmq3piHz30eHK/VHqDUahWIwP9ef93qTinzqU 23kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=81Y2Uzjptx6IoUi42esc04vQzHDhIpV7dc/tGLOwev0=; b=MfSghbv9W9Iiy++mRALq/1Dzxp0wsR4PLw9DcEiT7ohQmxY2o0uFjEOJ/cv1GaW0HE u9Y7jSAaYJta8HHSIiIWgzFAaFVbWhkmmvivI753eUG0o6DtbYc5NyMz2vhRJhB3nUSv 8NFeg/010NUdCt1IzCFtDsMpaidqapaGrpH/S7ep7gTVSYd+DCFwuiCtZGws20OfKOGI ElAUPeqb+1ik1lrXfgSj6G9fu8UPBb+KnzNx4acjX4FieecYyyj1V72I0FGlmIsq0vm/ Ii6h67DuI6R1dJh17WKuE9NCVj/ZatmAgylJXJH/KUHz5qaelUHhpo2zEIM9Zz1RkIW6 BoLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ll/094tU; 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 o76si279759pfa.367.2018.01.22.06.57.43; Mon, 22 Jan 2018 06:57:58 -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=ll/094tU; 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 S1751288AbeAVOzu (ORCPT + 99 others); Mon, 22 Jan 2018 09:55:50 -0500 Received: from mail-qt0-f182.google.com ([209.85.216.182]:37134 "EHLO mail-qt0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750848AbeAVOzs (ORCPT ); Mon, 22 Jan 2018 09:55:48 -0500 Received: by mail-qt0-f182.google.com with SMTP id d54so21388155qtd.4; Mon, 22 Jan 2018 06:55:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=81Y2Uzjptx6IoUi42esc04vQzHDhIpV7dc/tGLOwev0=; b=ll/094tUrGpwom9EyeyovFfqoHE2N58UqcbKCWhvJ3kd68bleOSdx7fov68362B3rP pqikf4dQjjzu+n3bJxqdQb5cQGA3sMd/2JPKXnem/E30SgFymOXASIKrCCD90Y4DOgPC e06dyIgPUwD2bYt+yXJ+3vPN6bnRjC7ycrcu00NkfywOlY9WmLgl8Yymh+/uZ0ezRSh8 A/U8KKxZWbNp8RWGudZ8hajsjz77gsY0cZV7p8mz16t+kbHHsf9qRz6wnUyFWFwt27pG AOW748J/JKWiHwq27pBGBr1z1Fcj1h4QFvrqp2w/B3jT87qtAyvRc33EepVY+GdegFrv opJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=81Y2Uzjptx6IoUi42esc04vQzHDhIpV7dc/tGLOwev0=; b=VDD+nlnCNW9s24BST7TemrmH9A/4NlJRSDuHxt/4EoK17ijhwrv3MrtQ4p34F5+e5t sE9IQXlKNogycyKdtf7YAn6C2P9HB4lK2m6Tz0J9Afk3wqmxzCIZDj/1scHH/PPZFTIN fmoXRE6L6dnHLHkotFYFUYkmKzzIj79MVS6BbgbyoQlFlAgPViB0Pjso44kbZD8rVqA7 jJkUeAUqzl5hOYgIjnWf4jv2QjlXOPNf/a6zslyiDXJDPlAPi15tscXE7/doRDpKdXSQ CQl4GdelHPdclmqo1rVUITxogd82F8T/MZqUuSD9LI6fLxpqHpnRwahxLl8TNXTsDwRV RoWg== X-Gm-Message-State: AKwxyteesznpOWP6xjtYuxZURsV+OUTP2KUY/Gk/N3HKBvq5YDrWe/jv wpuPe/QIxKmNqk9Yf9/zL/G3uVL6EETmH69XCmA= X-Received: by 10.55.87.70 with SMTP id l67mr10108423qkb.319.1516632948090; Mon, 22 Jan 2018 06:55:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Mon, 22 Jan 2018 06:55:47 -0800 (PST) In-Reply-To: <1516607927-8887-2-git-send-email-hpeter+linux_kernel@gmail.com> References: <1516607927-8887-1-git-send-email-hpeter+linux_kernel@gmail.com> <1516607927-8887-2-git-send-email-hpeter+linux_kernel@gmail.com> From: Andy Shevchenko Date: Mon, 22 Jan 2018 16:55:47 +0200 Message-ID: Subject: Re: [PATCH 2/5] USB: serial: f81232: add high baud rate support To: "Ji-Ze Hong (Peter Hong)" Cc: Johan Hovold , Greg Kroah-Hartman , USB , Linux Kernel Mailing List , Peter H , "Ji-Ze Hong (Peter Hong)" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- With Best Regards, Andy Shevchenko