Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4398029pxb; Mon, 21 Feb 2022 20:16:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzo4mGfCdltdJ1Ur2vCYyPREYvAdCsr19ri6e2wISV4EAptEfL/CNDFhqYAeg5R4ikM9Mk1 X-Received: by 2002:a63:1a46:0:b0:372:8892:7d44 with SMTP id a6-20020a631a46000000b0037288927d44mr18327187pgm.365.1645503370317; Mon, 21 Feb 2022 20:16:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645503370; cv=none; d=google.com; s=arc-20160816; b=ZmLbBvaC/MndpFyh/Q93cglgCEk75DPfQP+ZxuY4D51s/9lz4unplVB/xkDOMxR9Mp P8oRVep0eAH3d8Jwcj0TyBmsTXpz1LmGKzyAE8rLW7TMVufffz2SQV02mC61O2TeprsM a3fu2tahML9BfVvBIp2SavnikesoEPftibCfU7Ah2MuSUu/zqaTgZVzTBM+jZh6MDB2F kHvbNqeIsKsmUeRKea6Jv4Oqtxh5nws+gvecmFOjg6P2qdM9AfJ39TPj2ATdDreiM0Gy bJf6LH1pqP5JCV6V47seehKIEKa+0zarHLJCuVpYwzuLMo4Pp81iknu2OYPtUOlG5gxH 5ICg== 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=LnNDspWH53byTON8/DT1vsFZkFZ06dal6CobvbPniSU=; b=yOf21aVF9pe4H3zDJ5hmG85HbjYb0elQ7uHN0to6qBwEGtNfIUxV5u63L4yoBw/4NC PcgoUb7Vo8S5mDOF+vxxirOGbLx6Qx/k7umYqMmJj3kOea5mPHhEIL2Kz6Jc6gQIYw1/ C1GtPE3MyymdSdCa3lYbF38FAvCih6lXhlplwJPiuUfynWDpRTM6gZPYVjdQ1NTwL0Bl swJJR4nSTAUftxgszROH3+VdHWu0PPff3XmG8aJyUJgG0tiy4txeXtuQJvhy7Fy4hYQO fqtnkmrSD98jzwIvZ2/BsBg5X3UWpAQtD6QBZ8u6sWkIbL4jfuFHDUP2uPWcNB9HPwU/ l8Kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=ByOUBjvZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g1si11197485pfv.141.2022.02.21.20.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:16:10 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=ByOUBjvZ; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E336189CD3; Mon, 21 Feb 2022 20:16:06 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238258AbiBVBQX (ORCPT + 99 others); Mon, 21 Feb 2022 20:16:23 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238059AbiBVBQC (ORCPT ); Mon, 21 Feb 2022 20:16:02 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55E8C25586; Mon, 21 Feb 2022 17:15:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645492505; bh=LnNDspWH53byTON8/DT1vsFZkFZ06dal6CobvbPniSU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=ByOUBjvZ5qQCgwW/ZyCEAd8zOtBSQ+R25pr77kXNo9duIknzJd6BY9GEML++kj5kW FhH+TkSsPLSlenykp8j8AVcLkp42h9R/fgS4Uw/OoCXhm6a6QaasiNSWXJ2KvLgFko SlbO99BbprztNnvK3L/Ur4DMDnui7VLpner+Hkfk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([149.172.237.68]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MA7GS-1nXpIZ1vHm-00Bff4; Tue, 22 Feb 2022 02:15:05 +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 (v3) Date: Tue, 22 Feb 2022 02:14:24 +0100 Message-Id: <20220222011433.8761-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:fwQhpe5itdtLuhIj4GdcRsArhXYdn4LSccPuJsacLIG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A1Vgfr7SSqUAKB1e0wiuH3RLNXp q0T8pDIVquS7dcb59q6JO7tFFlCvdExeu6UhizIP9ULUEooKVLAyzwdrk5q3rCI2HdSCJPGcm gfSL4sE8OSxX9AXsvb75/avee1MhZq3XF9jVPSdLHg7t77Twg4lINZj9/mQR85Hd4WpIEusLl k0zhSFFDpFN8UKT3jjmtJDeUuCwOHUtr20FU8H8rrRbREggZXf8HKwEQ+D6Yvr2mCPsje7XoN osSpPAhuR/+He4= X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MIME_BASE64_TEXT, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 aWVsZCBvZiB0aGUgc2VyaWFsX3JzNDg1IHN0cnVjdCBiZWZvcm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