From patchwork Mon Aug 7 14:31:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9885485 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 197D1602CC for ; Mon, 7 Aug 2017 14:35:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AE052868F for ; Mon, 7 Aug 2017 14:35:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F2A84286B6; Mon, 7 Aug 2017 14:35:21 +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 793A72868F for ; Mon, 7 Aug 2017 14:35:21 +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=O1A228hCQfO0AoQ1ZgxRT/JjP6 Lzit6zcl87MBrgj+UkOmYjttxuIwNF2zBlpXiOBccJGUMA2ueoPMgN6BJMC8BPPsy2JeXwPv+C9gc vygeM9K9RvQYsa/GGbWLSp9sahwBEv++499pgcZmMSlSfbh/u5v2bNV8ZHDcAFnO0ofTAJtP3EXaa ySMFtJw0iCCq6TuV8OQGz7ueooX+qCaPGggeeZueC5oO98Y+N+xTC/Yea05yOuTQQX4QaV4N3IHda lpyiJRdhHp98vMlGLVSOJrNjnimkKpLuRDdttDJwd+KY1XBajTaXMJa9K5Unq3qmIAK2xjJ38b8Il ZWld5SNg==; 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 1dej7n-0003BH-Fp; Mon, 07 Aug 2017 14:35:19 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dej5g-00014m-9Q for linux-arm-kernel@bombadil.infradead.org; Mon, 07 Aug 2017 14:35:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Rx/7bkoqI44KpB3tAkbWzHVob4rQ/5kS8Tj1bDi5VZg=; b=uHekYETHRkJymfegwbmqG4st+ VsulKasM+0IyMPqgOVCMUvHQR7BuuhbNahuTUCtVRMlAMhg5l6uSJjpMGOZXHyRqp2Er8pESCV2J9 oK2P0TZJ9dZdobsZRTm6P1LfDxfRy45igN7JJ0bPOuiZQckki/kdR3QAuvdxEouMcBrQM0BtmLIcP T0HSEABV/r8I5aTNyFdSaeHardnXu4zwHVJPse3e3zizbJOpqS3r/QgNMoHoTIjO/WDKwFWJ2AIq0 UwgOyF/VsXAUIqJg8Ku35Niy4KTZ6JQQahlDtGn8hSGstDPcBtZo3Fy2fwKIl2N1IH/lSBXZ4OS+p o+twoNEDg==; Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dej5d-0002np-75 for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 14:33:06 +0000 Received: by mail-pg0-x235.google.com with SMTP id u5so2460832pgn.0 for ; Mon, 07 Aug 2017 07:32:43 -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=AJxf9gNgH2iUWBSnVqjjOhHs+6vTli3sRydaOfX4Ou8sliMNylu71cWHujjtRnOKKF EkQq/t/VEuOSKyspTBlEWpQJyEAl3vOyd8ii9u7kRIyKIQXWfvQVI9SM/FUibdM0Idi5 6Ah5nk7fsi6MPpmRvMlWmS0yGH7EzDr586yfE= 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=A8I+xTm/5ppvzDtyhPmnKFco6zgiii85+36y/WhWobzMDH5OXWR81rXHC6xvfiOYb6 4UZDzS2UBggQzXRFxwMA1iY6Tu+0sBUJLs7+PI7fiUEOop3Tayli35P9zZS4uiiXJcgb qDtlcnT52J2L//1LU7p9QW6OeF1gymPbICUk6/wpg0mmDSYBnkcVzUbCxdWyFPP1qn3D Tsic0+OP5P9rocgW4MnjkxdP5OuYNreaSWhuyBZrsbPf3LQNAHu7Mm20oUBjcDIk2pNk CQ61G3uImtMQhnvgEnI1WQgp3/tZ9byLfo5+OtSfUBsvZf8i7cwrR/5BJ+zXWLzMf5CT 2MYw== X-Gm-Message-State: AHYfb5jc59++uA4k+rOjP165iS7ogR9wzUyTRNE8c4pYeEXDubR9kjmE /MUB6g5Xn4eRG+am X-Received: by 10.98.75.218 with SMTP id d87mr751744pfj.135.1502116361035; Mon, 07 Aug 2017 07:32:41 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.229]) by smtp.gmail.com with ESMTPSA id 78sm14808407pft.123.2017.08.07.07.32.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Aug 2017 07:32:40 -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 Subject: [PATCH 4/5] arm64: defconfig: enable support for serial port connected device Date: Mon, 7 Aug 2017 22:31:59 +0800 Message-Id: <20170807143200.6764-5-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170807143200.6764-1-guodong.xu@linaro.org> References: <20170807143200.6764-1-guodong.xu@linaro.org> 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