Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp260252pxb; Thu, 7 Apr 2022 05:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQ5Aowg3HevseHEwtgtCuJkquNAdYHYwzjX7D606oiOpjonwAFaJqyg/dKhxYgme0UVixp X-Received: by 2002:a05:6e02:15c8:b0:2bd:fdca:18a8 with SMTP id q8-20020a056e0215c800b002bdfdca18a8mr6292620ilu.320.1649333014966; Thu, 07 Apr 2022 05:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649333014; cv=none; d=google.com; s=arc-20160816; b=iVomSFjZoU0672cewLkUIROs74URYYrrf8g9TRp48jyavR/0eEY1Oh3JNvq68GpbPU qrU7BnpgqlWlpWvZ9Ruv/c16MT+U9KZR+fd2aVnSWOzy/H+2zazPiz1rtqF8PvelF6dR TTBXk6w4MDPpIVfQEVVTFrbdWKrOWQhbf3BS3sD0Oy5u954gstDi6oIm9gAdcafeUM2f Jon+hhMb2zI7Xw34spFsWvCWcS+nN2Mqs64f0xtWmEarB5e88NG7uoJP0iPv939cfLYe FgHzreMMHZdekNsSygzBmOs3NhvRRlXtbUOJgdr3HzHxFbO2tDb5cmPyQKsgpfEFziPQ mfIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nvMxH2nwZnYo4zlo20mpZUqGahl5QM8KcawS4rr5pbg=; b=hQ5leF8i4jusaEeBqqulMQwAQJcptA2gsvWJV7nZ9rOq+9OL50ho1bUPNopzPxxrl0 iTL09TGjcK4qEnM21/p+uTo8WbJEM2mx+PdpkmB/yhlXxJqRGSxcSznO09DkCiMe/eow fIejEHAk7vlLmkhngdToT/1ni5RunoM/KwMFOVvKopDEQqkQ4PDG7hwh2dL8IsF00HvX BlY9axQqwGic1zxx8Gxq8+MGsm/V24qTMpo0qpWgtQy6lUONoah4/CD3H9QaQnpWqjzx eF/jJU8Xy0fPvkxxzpd/C2vTBv16c1QotErNxEO5bdFjmPeZkCH0j1WhRlXOxoFUgyFT zXfA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a92ca07000000b002c9f9b724fasi11478947ils.71.2022.04.07.05.03.21; Thu, 07 Apr 2022 05:03:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243064AbiDGIc0 (ORCPT + 99 others); Thu, 7 Apr 2022 04:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243023AbiDGIcO (ORCPT ); Thu, 7 Apr 2022 04:32:14 -0400 X-Greylist: delayed 821 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 07 Apr 2022 01:30:14 PDT Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6C64145993; Thu, 7 Apr 2022 01:30:13 -0700 (PDT) Received: from droid06.amlogic.com (10.18.11.248) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2176.14; Thu, 7 Apr 2022 16:15:07 +0800 From: Yu Tu To: , , , , Neil Armstrong , Kevin Hilman , Jerome Brunet CC: Greg Kroah-Hartman , Jiri Slaby , Martin Blumenstingl , Yu Tu Subject: [PATCH 0/3] Use DIV_ROUND_CLOSEST to calculate baud rate, Date: Thu, 7 Apr 2022 16:13:52 +0800 Message-ID: <20220407081355.13602-1-yu.tu@amlogic.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.18.11.248] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,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 1.Use DIV_ROUND_CLOSEST to calculate baud rates. 2.Added 12Mhz as the clock source for calculating baud rate. 3.Added S4 SOC compatibility. Yu Tu (3): tty: serial: meson: Use DIV_ROUND_CLOSEST to calculate baud rates tty: serial: meson: Added 12Mhz as the clock source for calculating baud rate tty: serial: meson: Added S4 SOC compatibility drivers/tty/serial/meson_uart.c | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) base-commit: 3123109284176b1532874591f7c81f3837bbdc17 -- 2.33.1