Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2617383pxm; Mon, 28 Feb 2022 02:47:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzstzqHaSFDUG6duBLt9vZ24ebKI2c/JaKdC3zIEfSOLAsYhQD0O3yskUqyQr96E1ZlciTT X-Received: by 2002:a17:90a:3b04:b0:1bc:72f8:c8a with SMTP id d4-20020a17090a3b0400b001bc72f80c8amr16103927pjc.176.1646045261496; Mon, 28 Feb 2022 02:47:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646045261; cv=none; d=google.com; s=arc-20160816; b=cX+zPhxKuBKQs4CsuYu8iwvQJbPgRWIchhhzXzioi/+yjB/0jRcbSb5d8g/9To+UMH cQoySoKwFr3lkLYgY8MD4XMr3Pb4M+6t4f9k9KAcF8SCNL/ux/y1+IkYDqXgvnjjAV7C +97NnIP/8OaDG0FCRwrtUu2EZJFyFnsFW7XM2kMEQwDSbHUfOmIInypxgpCdaY9GDYvG WP9BCe9HzuvulPGQQvLhUBZnO1m00jL0Z4KSSN+NTIuqwlRG66QcgY8DeLsO04vRJvqd VVR70fReO3XCo8ubFIscW6WBGbkrG8SbnCrwJEhF/9pu50Mxa1nalytyLkCw/4UDprm6 /B+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=V/wGp+G2pTyXDb4+jdBY8qODO5TCY8jft6x/5fyt1MI=; b=TXRyRI9lInZ5uvTIuEKG1+Ttcp8EgYz1fUT2G/NkWt/mgtxNIj1j4MmJKtesrdVF0v DKeW86zp0NgtIDQVe87XbPw2c/3vJpHaK1AyAXebiqOyzpwtoXWYeMI6AU+a/W4A+Fo3 +E+qw6c/HadMkToUq4+T7FFxQGjQQsMRQBdOb4LbsvT4UWaUBmtXHG3NeiLmoiJJbT54 yrGH0SUnjMpbwbV7+HIzIG/HmocTLeeLfOUi5xs9bZCJGFuw5fGBrdEn91SbTbLqZVgc 4/dXdNY7yBhFlpg16Ahe2SRZcLSI2aWQ08FvTyYzmT34XzqliOxBOjpjjgxNzSK3p4Vw Dg4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=MuHRnmkt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o2-20020a17090a4e8200b001b9e4d62eecsi9494578pjh.135.2022.02.28.02.47.27; Mon, 28 Feb 2022 02:47:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=MuHRnmkt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232723AbiB1ClV (ORCPT + 99 others); Sun, 27 Feb 2022 21:41:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232489AbiB1Ck6 (ORCPT ); Sun, 27 Feb 2022 21:40:58 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EE576E2AA; Sun, 27 Feb 2022 18:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646015990; bh=V/wGp+G2pTyXDb4+jdBY8qODO5TCY8jft6x/5fyt1MI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=MuHRnmktUX1JB7Kzq2uXcT/BLonc7pPkW1eropMd8wlVp5ZsGsh6+w4rgOzShZYNU ach0CN12vdx8sVc/3mu0oZyJxLuBYLxM9RYvhQwwOUy5zDArvttWGvj8B05AWL4Vt8 9nnZXE1jEw8cDZLWGVqesTQDL5083pjTbToTltCQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([149.172.237.68]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MQvD5-1nbUDx1ry3-00O1Tz; Mon, 28 Feb 2022 03:39:50 +0100 From: Lino Sanfilippo To: gregkh@linuxfoundation.org, jirislaby@kernel.org, u.kleine-koenig@pengutronix.de Cc: linux@armlinux.org.uk, richard.genoud@gmail.com, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, ludovic.desroches@microchip.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, lukas@wunner.de, p.rosenberger@kunbus.com Subject: Move RS485 implementation from drivers to serial core (v4) Date: Mon, 28 Feb 2022 03:39:19 +0100 Message-Id: <20220228023928.1067-1-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:Fd0ako0QTKO8TY2IaGJzF0tKjpC3R3VaGpiLtXqHh6ESVFhyIJ3 vdEnDEx9TLif8A1pKe5zI2v+rp460XCuRZQ33h1Jr0Ouf1RLt25hWh8aUqd05470v5qZRqb llyQCTDfG5m3IK4T9tI1GrnQltF56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/wDr5xLD Jy87Dx+EPKc9pDhYrwuUupX44vmLNgrnf7yVfe3+JLikbzMzoHZY0Phnd+12kSipYfRFoK1UA SzefRACCzuAsKXL4AYbnDDMLh/jVxK2ebplBvL8KiLToYEsuFKMLEdqQDgnHNth3sQj8EkJp+ p04qCeNe2e2FDQ= X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MIME_BASE64_TEXT,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhpcyBwYXRjaCBzZXJpZXMgaXMgYW4gYXR0ZW1wdCB0byBzaW1wbGlmeSByczQ4NSBpbXBsZW1l bnRhdGlvbiBpbiBkcml2ZXJzCmJ5IG1vdmluZyB0aGUgZm9sbG93aW5nIHRhc2tzIG91dCBvZiB0 aGUgZHJpdmVycyBpbnRvIHRoZSBzZXJpYWwgY29yZToKCi0gZW5zdXJlIHNhbmUgUlRTIHNldHRp bmdzOiBpbiBjYXNlIG9mIGFuIGludmFsaWQgY29uZmlndXJhdGlvbiAoYm90aCBSVFMKICBhZnRl ciBzZW5kIGFuZCBSVFMgb24gc2VuZCBzZXQgb3IgYm90aCB1bnNldCkgZW5hYmxlIFJUUyBvbiBz ZW5kIGFuZAogIGRpc2FibGUgUlRTIGFmdGVyIHNlbmQKCi0gbnVsbGlmeSB0aGUgcGFkZGluZyBm aWVsZCBvZiB0aGUgc2VyaWFsX3JzNDg1IHN0cnVjdCBiZWZvcmUgaXQgaXMKICByZXR1cm5lZCB0 byB1c2Vyc3BhY2UKCi0gY29weSB0aGUgY29uZmlndXJhdGlvbiBzdG9yZWQgaW4gdGhlIHN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