Received: by 10.192.165.148 with SMTP id m20csp1796113imm; Thu, 3 May 2018 05:39:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZonIW5ThWqtF+zwNdaW8O8A9w+Pkw4i4qFe2pah3IuDEV9Q9Z2m9XxgTE3N3PbpoCmlyXwJ X-Received: by 2002:a17:902:6a89:: with SMTP id n9-v6mr14098074plk.41.1525351187341; Thu, 03 May 2018 05:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525351187; cv=none; d=google.com; s=arc-20160816; b=voFTDbyokIMRVuQVIb5RLGl0/vfKwCx4vnIbScOl2FVWkdJ2pgNUkptI5QJauvP1s7 Mh7noYPWkLYRXld0R2E8Eg7FB3MjX5SlejJN+aqyEx/TMPkrJQasDvJLqQx7Zjtc5mvv WZOZZoZqO2rXZRuLep+SrmmgKK4Yghxc+CLso+rRRZcVhs8Ha096VG/4fImYLMhHwhwL Hk0tNJ785aA337LUHGfx1VOXCK4THOZlQZl9g1NoUQn8ry9wfiLyAsQ5aB8CzYHu0QUr ghktnV8E+I1/00rLdFQKWZ9LgUNF2XFlaGN3Z5a9JnzFM+XER+lBi+NaMyx0KQ3k2z2a PdZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature:arc-authentication-results; bh=UndIdqoILNYdUAk/VoXasWrMQAWjh+bspxSD9WVoJ2o=; b=auKI7q1InO0BXoy+r9AMRA7dRxsTeCviEHay/vEylNMGqP8AaxH+g7ZifQVDtWBwyb hHEl3jiRw46vTxFFd4ZbxD9AwXBbLl6gy8URt3LIZpfrei41STwjQUzf09aJMTDCylYL B4KkfSYp9DVNW01m6q467o+J74RohZehXpeSwBZcrEpIv/ZJEpkO/3fs6QPeI5wwvqRL 3q+8A8axe0Yzn4d6vPsIV42JlrXoVzuuddS4JcMJZYJf70Y0rWOjfAnh3OOLnjpm94dz pTLdrtEyxkIIvc7whuk7f1qrG+/3zhqCthwc1Wqh7EzZJlr0InzeaOkhxwEslj5Frhua KAuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pUyN8VgO; 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=QUARANTINE 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 n34-v6si13587045pld.91.2018.05.03.05.39.32; Thu, 03 May 2018 05:39:47 -0700 (PDT) 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=pUyN8VgO; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751551AbeECMjR (ORCPT + 99 others); Thu, 3 May 2018 08:39:17 -0400 Received: from mail-ot0-f178.google.com ([74.125.82.178]:35569 "EHLO mail-ot0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbeECMjP (ORCPT ); Thu, 3 May 2018 08:39:15 -0400 Received: by mail-ot0-f178.google.com with SMTP id h8-v6so20406521otb.2; Thu, 03 May 2018 05:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UndIdqoILNYdUAk/VoXasWrMQAWjh+bspxSD9WVoJ2o=; b=pUyN8VgOAXfZXjrvCTww/oK8M+2gBcylATZfR0b8wswLvyu44QcSsrOdeILA0MFPuY z7id0Jw1DPqoJxfNdhEA7vRkSbfZ7m3sMTY9134ZuR7bzHL8o8mOAY9eyj1EXMifnM12 SdjgL0wXQVm89oB8Tw4HGfKTf8wauqkm9fZM8n5lTbqBh7SlIrNKbvhuXqXZGQECHso5 dcFgk+SnTD1wda81L/QhqeHbzpidB1SXnscf/xNfvVpjtxXPDkV3wiNN+8Nj3BCYDagZ p0DkZkNAQifVNQRyLjjEePBt3K0eG7Yf+CI+VBWbPor9GxZ6G0wG4BcTZ1VwlKEhEbjC r0Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UndIdqoILNYdUAk/VoXasWrMQAWjh+bspxSD9WVoJ2o=; b=IaZgGqCz2W56Vb7BE9YjP0+aU9ni1vGLFj85mHV7J6ZSXFsz0E71lqQPBqagR+5QDk ONX0SRN8Hcydnshup/01B/rkA2aZcmDZHWmAtrBMk3kDFF30dNzo3Vy8YrjwDWFn0l9a 3TRvSBdYBsBuy5qd6R87v1972dCwwBK2+FkZmFPvN83iZZiky+YrJyZ1RoyDk7m9HKM2 jHIRIcIlI++TcF+ud5H+CoSGgdT2G4cJZHdnplzAJJZhhUbM5el4jbZTrojdLX3yWZOJ g/EiYUKKT1bKb/iRdM9ZL9MzVepJGSBmdqz0wa9tlxSI+c392jIBoftw23luIYAxZyhu 4snQ== X-Gm-Message-State: ALQs6tBV5EDf8UzVB2spol6kIkz5QP0bMJgxnVmO55mMuXi42ntXPBDK otCmpFpvlVDxWzHjBItGMO12Ef8lWdtHGJRicTN3iQ== X-Received: by 2002:a9d:386d:: with SMTP id r42-v6mr17278507otd.186.1525351154332; Thu, 03 May 2018 05:39:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:118b:0:0:0:0:0 with HTTP; Thu, 3 May 2018 05:39:13 -0700 (PDT) From: Muni Sekhar Date: Thu, 3 May 2018 18:09:13 +0530 Message-ID: Subject: serial: custom baud rate To: linux-serial , linux-kernel@vger.kernel.org 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 Hi All, From include/asm-generic/termbits.h , I see baudrate can be one of the standard values: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 500000, 576000, 921600, 1000000, 1152000, 1500000, 2000000, 2500000, 3000000, 3500000, 4000000. If I need to set a custom baud rates(e.g. 14400, 128000, 256000), does Linux serial framework has any supporting method? -- Thanks, Sekhar