Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8570295ybl; Thu, 16 Jan 2020 19:52:31 -0800 (PST) X-Google-Smtp-Source: APXvYqzhiaNMB8CQzUXucoB7bEj+D8qMo47BpF3ilr67BLwU5wp5QJXuZSbdLf+0W6IpmTIbb/X9 X-Received: by 2002:a05:6808:a11:: with SMTP id n17mr1971460oij.94.1579233151732; Thu, 16 Jan 2020 19:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579233151; cv=none; d=google.com; s=arc-20160816; b=y4EUx5dM4wnjZruprmwswn14gyO1Sp315hITeFvMbGbrerOvbqOkSryHjI0I5Sv7Dc llqumSPlJ7aHbWR5Yo5HLwI/kXBYgx4ponqri3s9lAOSUe2F7GsrCtwUTvprvTgcWgY3 H5NCHPQFVaeaTP4WaGZiaKtLoj9RinOEnLO5nYrhaMFYf+0bzIUwDkfeFE22rTXUxlk0 QdQMUgR78VJvVYags75+Bkt3fzo3B0DpOpYP4Z/VhkOnnVpArVa1O65q/qYxm67hSCGA 88HROzEAsPjdWdEGEtMafCtoWGyKqvRRNxWszHicEFrE1WWgsmZ7hWUx00m/Fxx6aAzz gvpA== 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:dkim-signature; bh=/ufg4YOpQeSX7cHfO6yjVhqqe1zoV2RAyfuHFpGADIk=; b=JL5PBnRibnf76FvXky7dk2tqHD8DvDNBaH2HgVrC5OyQLDdVHHioafZ1GCvEhGJWwJ +De3vFDzneE785KVugHUgmW1+qKulQKFGYQV2kADeqI7IPUxIj9C6SB9TmwCarBogkFK gLUxTnBLiGOAQwPzffgrZWzEoRmYpzD+WkTn8lmFGHaH95sH0GpqLKtgr3dP+oD4674i 2fuodijJeDjRJ5GojC5XUBQ4YRo4kCG5A03uO0iIcbmSfb9j3BshdYDxr+hcxsDLGQtX NQQW6PptJmBOU3ALRGDBXxXBL3BRzyN0CFrImQ8HjjqdFa8pk9QhSeTMyLdOg7Abf8l6 k2GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@3ksolutions.sk header.s=mail.prewas.sk header.b=TkBU61dQ; 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=NONE dis=NONE) header.from=3ksolutions.sk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si13000939oic.216.2020.01.16.19.52.20; Thu, 16 Jan 2020 19:52:31 -0800 (PST) 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=@3ksolutions.sk header.s=mail.prewas.sk header.b=TkBU61dQ; 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=NONE dis=NONE) header.from=3ksolutions.sk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731455AbgAQAcF (ORCPT + 99 others); Thu, 16 Jan 2020 19:32:05 -0500 Received: from mail.prewas.sk ([212.5.209.170]:49349 "EHLO mail.prewas.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730487AbgAQAcF (ORCPT ); Thu, 16 Jan 2020 19:32:05 -0500 dkim-signature: v=1; a=rsa-sha256; d=3ksolutions.sk; s=mail.prewas.sk; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References; bh=/ufg4YOpQeSX7cHfO6yjVhqqe1zoV2RAyfuHFpGADIk=; b=TkBU61dQOLsmC1C6opABH7EfcFHApUscqlJRZ39KvqiJMLdBy9gZAcE1Jim9nPqJMBop8CDciT17nbvKUTjAaPGQVBkeOAcNkSm2lF5k7G9hD+S96I29nZtl+3XbufAcC2vuyJQAxQvUkqZOYv4ApGF9pySPSF6LJ94NhTgQs3uGkjAjuQ5qt9+dyyWBGsO8ehklAECOExbDLkIy7E3NuzSGzh93eZT8oP7mkDGdy/JuhapHCOVtnG6+N1 /rt7Q4IOKZLWWek0HAN6zJdQPny+zwD9TRd4pedc4+q++gVvCOqeoZWij0TIOsocFbnihgdfGmaXp3YF/kfLKe6Ghb2w== Received: from [10.0.1.61] (pcfilo.vital.sk [10.0.1.61]) by mail.prewas.sk with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128) ; Fri, 17 Jan 2020 01:31:48 +0100 Subject: Re: [PATCH] tty: serial: amba-pl011: added RS485 support To: Greg Kroah-Hartman Cc: Russell King , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Eric Anholt , Stefan Wahren , Jiri Slaby , linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org References: <20200106235203.27256-1-sistik@3ksolutions.sk> <20200107072748.GA1014453@kroah.com> From: "Ivan Sistik - 3K Solutions, s. r. o." Message-ID: Date: Fri, 17 Jan 2020 01:31:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200107072748.GA1014453@kroah.com> Content-Type: text/plain; charset=utf-8 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 On 7. 1. 2020 at 8:27 Greg Kroah-Hartman wrote: >> +config SERIAL_AMBA_PL011_SOFT_RS485 >> + bool "RS485 software direction switching for ARM AMBA PL011 serial" >> + depends on SERIAL_AMBA_PL011=y > > Why "=y" here? Shouldn't this just read: > depends on SERIAL_AMBA_PL011? > >> + select SERIAL_CORE > > Is this needed? SERIAL_AMBA_PL011 already selects this. I am not sure. I found this few lines above: > config SERIAL_AMBA_PL010_CONSOLE > bool "Support for console on AMBA serial port" > depends on SERIAL_AMBA_PL010=y > select SERIAL_CORE_CONSOLE and modified it for my purpose. Thanks, Ivan