Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2208467ybh; Mon, 9 Mar 2020 01:01:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuIH/p+GZMSMXOAdAWFIFcylO81LAi3M/5VuJYhASA5DMoxA9oYpcsQ69e5v5ieHudVrQl/ X-Received: by 2002:a9d:6a0b:: with SMTP id g11mr8050405otn.31.1583740911942; Mon, 09 Mar 2020 01:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583740911; cv=none; d=google.com; s=arc-20160816; b=V81q52UZnTabyz7pkMPQ5hWoRZAE0NpycDwhyPWnWjixYo/lI0au8aD6PfA7qcj8tk IvkAzAO2yy1zT5b6MuMtjrN59bu4NtjB/MTQeQSXwN+2Fu85OyxFDNoeLqoD027dLAN/ iWv7wPYwT1J0/XyV64lljyJMcrwKhxFmZxd6HBDrGbDN7hDDUAw5o/GUKmCKkle95fAe 5UVK62qys7cDdySR+6TvzwcfLlo1TmO2Et25UYZAhodyVvy05xFPHnOsATRFPUsxk0FI DpzEP/6Mu7BMaIzjmXFwMqST7Fj51F/6McCpKdEjsIFT6prNmIMzw8zolQr9pafvh9TY P63g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=5KNQrDe0l6oCFPtPg6ftsB3rjrTR1HyU2LsJupipGE8=; b=dJG+7jioczcYjFy9bP/RgjFADmyCkvhAMc3YWY4YAxyUowo2yRVO+qUnvd96td29vR 1YTCgI2g7MHLhj/umjCAQuNSlx61vENjpKr46Dx4nHMuclm87Ew8Bi0FfejUeVCuKjaP B6chky46GNAAQ+iq3vSX70eTYrtvfR6vcajyouOESFErhRK2rKQy4zMwB/gDMYnRytO1 vjXWJEuchOIr4DcKL61Xwy9tLqx9VxaruIQiLcSe4jIFcNItVxs6nVXbBZS0e3ri8pu7 1cyCeNgooU/kViw69oAD8298l8XQjwLxZ3MyKhyMnwHnzq7iH4r/MauiK69lecrUDRdJ m5YA== 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 q7si5914986otk.77.2020.03.09.01.01.36; Mon, 09 Mar 2020 01:01:51 -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 S1726402AbgCIIBO (ORCPT + 99 others); Mon, 9 Mar 2020 04:01:14 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:44557 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbgCIIBN (ORCPT ); Mon, 9 Mar 2020 04:01:13 -0400 Received: by mail-ot1-f68.google.com with SMTP id v22so8624001otq.11; Mon, 09 Mar 2020 01:01:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5KNQrDe0l6oCFPtPg6ftsB3rjrTR1HyU2LsJupipGE8=; b=QMBcEx6xHAL00m9ofm9CCbYJYgdp+E0JA7ZDV//TxPyQk7kV7wNZRt/BUNyOIF/Cx8 /A2ifIqGoapZ5mZcC+4Zf0fI7Z/KQkvSQbWDDU60pp1WTSzmDWEDR9bV0BfgeX4Zrxn6 Db8M7TEc2UGD7BHScMjWWSsFkxvx8z4Q5K3hMjmBuFcup8nMldv5pjKouy1CuEIqe2ng 7mwLgC4RT1iHhOLF7oVGHMhT2tF9FKNI8eFwvodLDTALrmFtCve92ERwKyVzimoBHxqX qNmHBjnmiSp680vOSs0U7Rh/WeVKtEJrMDB1tk9BwaQ8uqnk0l/Q5wXWnmUzpihk/BjD cmWw== X-Gm-Message-State: ANhLgQ0Ps40Fe10oKeBXSrzNB3AQZ/rnkr+D0nfNkxadALnZL2tYrB61 +nQ5jx5k8tb9z/FIDR57gzxijDwRzQZsKsorhks= X-Received: by 2002:a9d:5c0c:: with SMTP id o12mr12090100otk.145.1583740871801; Mon, 09 Mar 2020 01:01:11 -0700 (PDT) MIME-Version: 1.0 References: <20200305103228.9686-1-zhang.lyra@gmail.com> <20200305103228.9686-2-zhang.lyra@gmail.com> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 9 Mar 2020 09:01:00 +0100 Message-ID: Subject: Re: [PATCH 2/2] tty: serial: make SERIAL_SPRD not depend on ARCH_SPRD To: Chunyan Zhang Cc: Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Jiri Slaby , Linux Kernel Mailing List , Chunyan Zhang , "open list:SERIAL DRIVERS" , Baolin Wang , Orson Zhai , Linux ARM 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 Chunyan, On Mon, Mar 9, 2020 at 2:18 AM Chunyan Zhang wrote: > On Fri, 6 Mar 2020 at 20:41, Geert Uytterhoeven wrote: > > On Thu, Mar 5, 2020 at 11:33 AM Chunyan Zhang wrote: > > > From: Chunyan Zhang > > > > > > Remove the dependency with ARCH_SPRD from sprd serial/console Kconfig-s, > > > since we want them can be built-in when ARCH_SPRD is set as 'm'. > > > > Why would you want a serial driver for a specific platform to be builtin, > > while all other platform support is modular? > > Oh, that's not this patch means. > > We just want serial driver can be builtin for any platform, so it What would be the benefit of the user to be able to have the SPRD serial driver built-in on any platform? AFAIU, it supports only Spreadtrum platforms. > should not depend on a config which can be set as 'm' (i.e. ARCH_SPRD) > , otherwise if the config was set as 'm', the serial driver can't be > selected as 'y' then. I ask about that as a reply to PATCH 1/2. > That's what I mean. > > > --- a/drivers/tty/serial/Kconfig > > > +++ b/drivers/tty/serial/Kconfig > > > @@ -1452,7 +1452,6 @@ config SERIAL_MEN_Z135 > > > > > > config SERIAL_SPRD > > > tristate "Support for Spreadtrum serial" > > > - depends on ARCH_SPRD > > > select SERIAL_CORE > > > help > > > This enables the driver for the Spreadtrum's serial. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds