Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp522676pxr; Sun, 10 Apr 2022 23:36:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwehSQqOH0x/+vMwdliyXUaBMuTA+8Q8SicUP3GtqK25hOFP7XX833Z0KiXP08vXoUp5INE X-Received: by 2002:a05:6402:b1c:b0:41d:798c:78e3 with SMTP id bm28-20020a0564020b1c00b0041d798c78e3mr4600789edb.188.1649658982066; Sun, 10 Apr 2022 23:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649658982; cv=none; d=google.com; s=arc-20160816; b=1Ap3425GGfq3niTPBlUvRi/fAwxH+mMsvgF5XirWl/3i7S64NLrJSBZykAhbvyIR7B VSjjT0LoHokRsKcstFN9c4A642Myah71TLJpSAOeppKltHQhAG2s86Tu32F50zp2+tid GuhVFrsHBb3AbWl+ovf69Lzle7pfVneXtiSWx4y153R5bAsEhgBn8DPWsDx08cqfJrrZ cUU50b/RJtWfv+AEjiqEhah6r3KhA6zyBG2ZqDM/z6L+J8+sGjmJbyf1gN+Z5rxBLmuw vFkaSC1MIlaeA5z+tO0TWeK+bwAYCfRI+eUzjKxQmKHh/a+LshUWuXIfkNPH8EAmVM9r qzmw== 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=Z6/2/nnSkxxUcKhu74YF466O1KxzujfZbQWyYubnQSY=; b=Q77aJZn+YX1WR1dpMf9b6GwXXFOF9AN+mIEBWTWI0N/j5i65x9PtsHOxG2FIztxzni /oxvnprPNlW+5w+SLWplJwjl5abJPouvxv+I0I7biaYino37mOG0Xfx6z8LvYuVjKiy4 Psr3XJeMEzluDi4V2IOi0HvRlITQuZ7Yj2s69ioeHpWObcBPBVxj4BvQJ4bBKc2XW0Ra BBh6wyu4dVH19x071CnfnfvG1kBHteHFxDiHLSktDlhjgvFcZK9do7o/eFM1efq5BGHs hyAdNT+qM+H2ZWS2R5dMmq0R1/DvAV+VBOcWtiihisu6qWJQWcbZMwIHMSo48NeG8Uqw wu7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Sn1ycp2W; 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 i3-20020a170906264300b006e7090f852bsi5614609ejc.643.2022.04.10.23.35.56; Sun, 10 Apr 2022 23:36:22 -0700 (PDT) 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=Sn1ycp2W; 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 S237416AbiDJKu1 (ORCPT + 99 others); Sun, 10 Apr 2022 06:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237178AbiDJKty (ORCPT ); Sun, 10 Apr 2022 06:49:54 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59E1B5370B; Sun, 10 Apr 2022 03:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1649587635; bh=Z6/2/nnSkxxUcKhu74YF466O1KxzujfZbQWyYubnQSY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Sn1ycp2W/rpoPkZ8SxAeRsGs9vBrWbT1C/lgveHldaY1JkrIA9KdIOV4lwj5JrXB9 2F7yqA0G6ENJ2gNOitGBiTG9NQ114nCR774Lsbs4cYaKm4BY5oYM6bCw0xKerAk2bn BvbxGc9VWsp4CHtkB8YS+DjjFKClP7DTnkUw6Qyg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([46.223.3.230]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MQv8n-1nINLJ3Tvj-00O0ft; Sun, 10 Apr 2022 12:47:14 +0200 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 RESEND) Date: Sun, 10 Apr 2022 12:46:33 +0200 Message-Id: <20220410104642.32195-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:HJBFMAK0JfWk5nA9U+NMWUeXctqAt8MuD7XqHlVkkV6Ko0mfc+q lElLK5n5asHe+7ROnK1JHV5CVPKuim3JlnzNqB6Nu36ttILYZwNOxSHUJdq3/99qblix4Qz 5mB6k2pV3zjSmMqPaetu9SZ5SbPEbhyWo1m2bwcjYYqK9dt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8JTbOhw+NsyoCVxH5qbvzzxygWdCdNrloza+bZCgsv2O+GJ+AjQKHpLQTlVy p9vtL1CKDLbz69gPtQdbezi0iVyBWBYMx+zta3kMU8N7H4yXHxGLbXm0mFy2otv3YpJqsA1y9 ttzdSkt6qnAjcc= 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_H2,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 byB1c2Vyc3BhY2UKCi0gY29weSB0aGUgY29uZmlndXJhdGlvbiBzdG9yZWQgaW4gdGhlIHNlcmlh bF9yczQ4NSBzdHJ1Y3QgdG8gdGhlI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