From patchwork Thu Aug 10 02:37:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9892675 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 50A9C60236 for ; Thu, 10 Aug 2017 02:48:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24216289FF for ; Thu, 10 Aug 2017 02:48:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1636F28A39; Thu, 10 Aug 2017 02:48:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3515289FF for ; Thu, 10 Aug 2017 02:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Jvqj2Fc73N0UlG5smZZhN7IO3VrJqbMgz8RTGSKqObk=; b=VV8YlLQYGJmGZa+7KvrH5Js+1Z tsXMbzwRssMWYIFjGiIjzMjm0u9bwQR9K4JkWlq5JOrS9shypGSI55UX8G2rZL2ifx1mH7ITx2KxK PlspvjnXHIJAUwccpOwKIRq5Awanp3DpHy8uHI/eb2VimZKc1eU90hSxb9wCjsrRbqQ7ugebAXeY3 CAebQzyrP482d8NPEmutbk+bbe7sD5pTemTHCMTJ+oA7FOk/SLEvwe4b785gZzj2pJppRfcW3xEPg CHmi5+8yoPjYWAS5Fsk/HR3/UgUFd6yuv/MMcCUy9CMsnGEpYLL7NWcEbesoiUQLnG0knUs8nIoT6 YwvcLvkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dfdWP-00071N-Me; Thu, 10 Aug 2017 02:48:29 +0000 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfdMf-0000fh-4G for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2017 02:38:26 +0000 Received: by mail-pf0-x236.google.com with SMTP id t86so35288253pfe.2 for ; Wed, 09 Aug 2017 19:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Rx/7bkoqI44KpB3tAkbWzHVob4rQ/5kS8Tj1bDi5VZg=; b=MviZBsnjXiIBXsQT0yfnYlAas6TtEKkjKsvfN/q+3+1o9B5sVyvwEVm+/0QITHf6ES hosW8GyJyOZIdvc+IpItSdOBJMWSRqoD4ha0HS/2HV52DDEwzIepCQ36zQnx24FkA3P0 7NkY8XkyjsArzhBxcTgPGY7j9lUkZxvqJlP5Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Rx/7bkoqI44KpB3tAkbWzHVob4rQ/5kS8Tj1bDi5VZg=; b=pOOIIBRY/VOQjV4KyYxBTfHZs8erHg8Gdus1SQCNXBnbDWKZLNuWjpl6xmnvXFswe0 SroyhflTskB9oo+8OCa3P7T6fxaC8CTJZUluQVLgFOxgwRVEFLAQX3msksZZuy8vbE9C RgoAa8ar64HllJkyW27RBwZQ/iT0GTc6jyjUZJu92kcpsJyw96lcY237oSvKWAW3bFiJ kuKNsqd5Dw6g+GllS+b+j45yC+LHKFZMaQzuDU79EyRYueYZBOJ0f/O8QSEElPCm6VQX nzkcfbhTccou0Nd0sS7FwRJJ4MYHAYY+tVMF2lx5MuK1Blqq4ygAwBRtRowsTdJpc93v Rx4g== X-Gm-Message-State: AHYfb5gWsFyvuJd+dpBHEo4zDM4FH2eUVgy0fWq4ucwi646NyEAC/nyM MBd0GCtBrXWuqicO X-Received: by 10.84.238.136 with SMTP id v8mr11436413plk.177.1502332686039; Wed, 09 Aug 2017 19:38:06 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.55]) by smtp.gmail.com with ESMTPSA id u69sm9255098pfa.70.2017.08.09.19.38.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Aug 2017 19:38:05 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, arnd@arndb.de, khilman@baylibre.com, olof@lixom.net, timur@codeaurora.org, narmstrong@baylibre.com, robh@kernel.org, riku.voipio@linaro.org, eric@anholt.net, fanning4@hisilicon.com Subject: [PATCH v2 4/6] arm64: defconfig: enable support for serial port connected device Date: Thu, 10 Aug 2017 10:37:26 +0800 Message-Id: <20170810023728.19621-5-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170810023728.19621-1-guodong.xu@linaro.org> References: <20170810023728.19621-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170809_193825_221903_E25B07C6 X-CRM114-Status: UNSURE ( 8.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guodong Xu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch enables these configs: +CONFIG_SERIAL_DEV_BUS=y +CONFIG_SERIAL_DEV_CTRL_TTYPORT=y As example, a bluetooth device connected to UART port can be supported by this. Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f7081056..99f7e06 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -251,6 +251,8 @@ CONFIG_SERIAL_MSM_CONSOLE=y CONFIG_SERIAL_XILINX_PS_UART=y CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y CONFIG_SERIAL_MVEBU_UART=y +CONFIG_SERIAL_DEV_BUS=y +CONFIG_SERIAL_DEV_CTRL_TTYPORT=y CONFIG_VIRTIO_CONSOLE=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_MUX=y