Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1149217rdf; Wed, 22 Nov 2023 06:57:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqMzvVs67gsfyc2xaUrl5Q+GeDxCLis2al2szA8ZivyHgAhjAe+ieX3H4HJPwgOD7+6J3W X-Received: by 2002:a05:6a20:8421:b0:187:449d:a4cd with SMTP id c33-20020a056a20842100b00187449da4cdmr4023222pzd.27.1700665070404; Wed, 22 Nov 2023 06:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700665070; cv=none; d=google.com; s=arc-20160816; b=Q7cnV75v7e0EUpnocIfS7CQls3/VYPPzk4cO88lXJfi3xfNvOKGbYXHn3bXsf/vEug adJuTyTOdYavANco8n9V7oNH4sYNoLxSX0xMbxcW1OpJ7G3b8mw59FFHpKbOmpNYrRXR 5x47/Lt5LkXT4a28IjFIiY62jnkDaljhhc+lwhzwjMZLqojpnrfLIydRfBymtBUW5NKd XVXZtwOsfmbPU+7QoONqae3L81Nmu0hWug3x0h88nJ14n1Glujz7Oup4OzhGRmZSXue0 TfLJ2Pz7OjSVNbfJAKtGxJswFLLPYzVz9rIaXvUHTzrX9PSeGJmbXA6i7keneIfLH8FA x4gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=L3CGx1hUVkwRnNrREZAfxl4FOvKrSx57QQi8reJxYkU=; fh=gX/GRNluOGxGoLzkKV0EGRKcMdo6YfJnudYrH3Xsnc0=; b=koKiN+WTmdGbq0rMlp5iY+BXMs++4AY6vAC2GUgzrsvIZvBCTqEU1BmG/P1u3Dx23L Jgwj5fR803RjxJvZ1wCO0irwT0GDbk+xazzNthLdk4rVphOii2krF9IMXiEiQLY8/NNn TASuSutcVlnqZO4D2OV6Jy3OSl+81epYaeMQadae9BYdKBwEPSgbu9yyuV+rqm3T9os3 rlPbC7TGiQMfg9FJ1LKe3LEfNURj5Jb97qhYzX6t8VtiztXWm+iWAFCWNNtwCvLngwxN Nz7E/z6xYwYG1dF5K60wZ1KJfM4o4MLC6tucLT3lhI1KcSxWRpUC8lXwTb2sYgR1uInQ Ukug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=chYHbHO8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q14-20020a63e20e000000b0056f7f18bbfdsi12885700pgh.632.2023.11.22.06.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 06:57:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=chYHbHO8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7CFD3803417E; Wed, 22 Nov 2023 06:57:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344143AbjKVO5j (ORCPT + 99 others); Wed, 22 Nov 2023 09:57:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234611AbjKVO5i (ORCPT ); Wed, 22 Nov 2023 09:57:38 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE40A1BD; Wed, 22 Nov 2023 06:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700665054; x=1732201054; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QmCmsDYuWFrteOkVmVv57eZINUPD+VWxdq8C4RiZpUI=; b=chYHbHO8XVmBse4W7jDAiU1wyOuM4YzvymD/H823NHZUR+4QqUVcwcRB uhdWdYYUZCGwp3T/BrvnWk9ZYGuf+0c4oyCWdiMwgL+MPg3SnuTo1khjT zVwXjur1osaNgGxGqWipFPS5Qf0J2StxT8sGSeEtiRfLSLZ3VHB0tfZ+Y phn8apiOFKzWJMjhPvFK/ZtvjTcPtZJf/ZvmWcX+BrgZGleLddJwgheYF xqf6CPv3USzYKpxdISsW7TJLWu7A7hGp8GiFMIHZnFlGox2UTaaIK2AMD sTp2Qkh1oZzRGxwGCtAkYw6fpp0ll3VAQhwHb72xMN9qZ+kZdE+cO7OAN w==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="395992799" X-IronPort-AV: E=Sophos;i="6.04,219,1695711600"; d="scan'208";a="395992799" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 06:57:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="1014264579" X-IronPort-AV: E=Sophos;i="6.04,219,1695711600"; d="scan'208";a="1014264579" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 06:57:30 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1r5ofP-0000000G7JZ-2vwJ; Wed, 22 Nov 2023 16:57:27 +0200 Date: Wed, 22 Nov 2023 16:57:27 +0200 From: Andy Shevchenko To: Rasmus Villemoes Cc: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, Lukas Wunner , Rob Herring Subject: Re: [PATCH 0/2] serial: add rs485-mux-gpio dt binding and support Message-ID: References: <20231120151056.148450-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120151056.148450-1-linux@rasmusvillemoes.dk> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 06:57:47 -0800 (PST) On Mon, Nov 20, 2023 at 04:10:53PM +0100, Rasmus Villemoes wrote: > Some boards are wired so that they support both rs232 and rs485, with > a gpio controlling a mux connecting the SOC's pins to the appropriate > external circuitry. Instead of requiring the application to know about > such details and handle the gpio appropriately, allow it to be > described in device tree and let the serial core code handle it if > present. > > Tested on a board based on imx8mp. Why mux framework is not (may not) used? -- With Best Regards, Andy Shevchenko