Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5129388img; Wed, 27 Mar 2019 02:40:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvWeFQaUsakmn2danCzxMIUzax/Nsw+l9SAkva67Jtvtu+uzbUBZK4Q/a1UGBfRKfFyA4x X-Received: by 2002:a17:902:848d:: with SMTP id c13mr22276090plo.279.1553679648712; Wed, 27 Mar 2019 02:40:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553679648; cv=none; d=google.com; s=arc-20160816; b=gVjy/oUDTRVIfzxQS64Jf7Din78dKVLWHtPydss6xOwzNOTD8pG9jANWt+jHjmm4bI VIReimjzPG4Qam71TtUQp3EMR8peXQzNIJlP7XvlVqjvYVA0ux97n+J2wtyVNqmEavb8 BtxVlcKqcQNKZRC5F6uJY522lgnL2ydXQevrA/rAimFjUf0X3qa8C4PPCq9GmwFy0H6S a25t0na3wU25dNvmPVsRlW0pLZKdrlDrwjY2BRX8Vaqy++diCX/9TZwMI1PauDD1aNVl +ZrOOtVviFN3P+7qIv1UhWhJxr4b/qgy6WV3d9mWn0YWaaNpai8WKSGi4S6vTnR5UBFx PplQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=mbp5G2XQyX9TA6HV9/XAtsuBTAkCeLovpw9gwrRi1aM=; b=oMP3NelL+k3/S3wKrEnYxHFAgXSFOcPGMETWIuMNm7BdU2kaps7exmwtx2rucBNf10 4ci9nHhrz5H436xilrNOqMttIFTmTp9By6WNG6klMte0lDiW03Zgj+WLr4lORU1auAyO S2KguJV8u/hIb1cFlGWGsPn96NImYmbpfY/9apDFid+xad/dUF/OFu5YZCQPMqbCBRxo 7W3UL4V1aEP/P1lNReGGAwXkfCpNjOhRKPxzEtULL/c/Idwzm9+yg3DtIQ8PnBqffzTG M6CK9tPiVCDEq/tgQIVqBbW57sSqWvg9Njfu9BsaCdrAKpfCbBKerAZ1v4x0BkglRxfE zrDQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si18471788pgc.507.2019.03.27.02.40.33; Wed, 27 Mar 2019 02:40:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732920AbfC0JjQ (ORCPT + 99 others); Wed, 27 Mar 2019 05:39:16 -0400 Received: from mx.socionext.com ([202.248.49.38]:28243 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726379AbfC0JjQ (ORCPT ); Wed, 27 Mar 2019 05:39:16 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 27 Mar 2019 18:39:14 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id C6B086117D; Wed, 27 Mar 2019 18:39:14 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 27 Mar 2019 18:39:14 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 947A54036C; Wed, 27 Mar 2019 18:39:14 +0900 (JST) Received: from [127.0.0.1] (unknown [10.213.119.83]) by yuzu.css.socionext.com (Postfix) with ESMTP id 8122E120487; Wed, 27 Mar 2019 18:39:14 +0900 (JST) Subject: Re: [PATCH] serial: Add Milbeaut serial control To: Arnd Bergmann Cc: Greg Kroah-Hartman , Jiri Slaby , Takao Orito , Kazuhiro Kasai , Shinji Kanematsu , Jassi Brar , Masami Hiramatsu , Linux Kernel Mailing List , linux-serial@vger.kernel.org References: <1553591536-3760-1-git-send-email-sugaya.taichi@socionext.com> From: "Sugaya, Taichi" Message-ID: <875480bf-42d1-1c88-1dc7-4895e15cb87f@socionext.com> Date: Wed, 27 Mar 2019 18:39:13 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thank you for your comments. On 2019/03/26 18:57, Arnd Bergmann wrote: > On Tue, Mar 26, 2019 at 10:13 AM Sugaya Taichi > wrote: > >> >> diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig >> index 72966bc..961519b 100644 >> --- a/drivers/tty/serial/Kconfig >> +++ b/drivers/tty/serial/Kconfig >> @@ -1582,6 +1582,32 @@ config SERIAL_RDA_CONSOLE >> Say 'Y' here if you wish to use the RDA8810PL UART as the system >> console. Only earlycon is implemented currently. >> >> +config SERIAL_MILBEAUT_USIO >> + tristate "Milbeaut USIO/UART serial port support" >> + depends on ARCH_MILBEAUT >> + default y >> + select SERIAL_CORE >> + help >> + This selects the USIO/UART IP found in Socionext Milbeaut SoCs. > > In general, it would be good to make it possible to build this on > other architectures for better compile test coverage, e.g. like > > config SERIAL_MILBEAUT_USIO > tristate "Milbeaut USIO/UART serial port support" > depends on ARCH_MILBEAUT || COMPILE_TEST > default ARCH_MILBEAUT > All right. I agree with the style. > You might need additional dependencies like 'depends on OF' > to make this work reliably. > I got it. I think the way is inserting "depends on OF" as a new line. Thanks, Sugaya Taichi > Arnd >