Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp401422rwb; Wed, 28 Sep 2022 04:25:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73aotlnxVr5slxyT6UZlUoG9fTVueJXCXiGS+QqnBDfU3VyQjN4UGzuKnb2/DL2zGVhLXW X-Received: by 2002:a17:906:974f:b0:780:4a3c:d179 with SMTP id o15-20020a170906974f00b007804a3cd179mr27605232ejy.289.1664364346243; Wed, 28 Sep 2022 04:25:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664364346; cv=none; d=google.com; s=arc-20160816; b=ASkhgpWA0VL6GD+o+1aW4nGLgWmCzTEBPpl+qn7LDR4ppg0xZ8WJcwBzsqknkOqE9p hIq68rPOISFGiORRfsRgksLV3gHFBg1tCB2FcmgFWqF6gPJbM4o8eK4SgsxQTH5+goBy ub8CLT9+Ruzu397xV+tJIcUV0zcy7NfVpYpMkQOKVVuNW3Utngf71dJyiE3jOd7PC+Na W4KTRrvRbLteK/Vky8zFXqJ11ONN7nkdhjbfIIpyGrO/GISRoav+vUEquwT23YhcmjxE lii2jUPUXo/crvn4f6BGuXybTwYXLd72NFE9o8yquZ9I/A0iXzJBZ7Ov2Oxss0W2mCf1 mwSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=XCsdtUh+KTdYrWYc2FDmaBtPhvceL295X+CDsOUV9JE=; b=X5zGxdwQ74jEm5hlMyMj74NzGmHnLdiJmCr3rpNMV6HC2TNbbHTDtc8lAPfpoyNFf0 0HBW2JNhxRfS3VHC4SNlcr1AZr+lnUA0rs9hI9nPm1XjzGfHgVgLCHN31NWf4p/66HKD oQoHVXW6H/2cMI16zKqPPV84icY7Dw8tcHGIcFvx6ElppnwLlIPLP98KSUJFLmSfBSRZ IHbm6q/Fe2WGP1neSFPjGVS0Gs7HA0lfoi5kQLrrh8oicdL+wFVf7A4XFtC2BSQ0v2le u+Uab8kBQUBILdjHQg5sPxug6xpMk3BUpXjBsUmNFovUUZDzCEtrnxIz3/c5LOXisG2o 9w/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="kj/Bwety"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jj21-20020a170907985500b0077ed84da316si3944170ejc.217.2022.09.28.04.25.21; Wed, 28 Sep 2022 04:25:46 -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=@gmail.com header.s=20210112 header.b="kj/Bwety"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231920AbiI1LNs (ORCPT + 99 others); Wed, 28 Sep 2022 07:13:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbiI1LNa (ORCPT ); Wed, 28 Sep 2022 07:13:30 -0400 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 932C89E122; Wed, 28 Sep 2022 04:11:37 -0700 (PDT) Received: by mail-qv1-xf35.google.com with SMTP id ml1so7929335qvb.1; Wed, 28 Sep 2022 04:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=XCsdtUh+KTdYrWYc2FDmaBtPhvceL295X+CDsOUV9JE=; b=kj/BwetymrWmhrtVtc2xY46zFVtm4+sS7duURUT8bQk7uSizQxkgRrceb5GKwfzq6y XS0tLiPmrgt19xrxsJ0DtKS0gHJMsfOlJLcVhTJ+jfTgjRgdwGNFfjUiOB+D6vGxBmyT CMvYC99dSbct2tZ0utTWquuWwmOCQl8jsT5/A02svWJK1vvVSJogxulzRR+XWv3IowqN VeZfG1/q120MiU+mxAiC+UsjULy7mGkeBM7eFnPAAdGkpC+7kCjB2pbRW+5SlNt26lbu 9xg4EHkM/rIhzb/qiO6GQYS18A6klUkQ8+gXAh4n6TxM6pR+4+C5rgDovsYGNdlHHfla 4bww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=XCsdtUh+KTdYrWYc2FDmaBtPhvceL295X+CDsOUV9JE=; b=fHITlvlctzAlTKA/xiL0EXFEKOKbIJl4pF/DVCLUesWZJpIM1DjzJ5OQtO0cu8ARBq FvRvbuX/Kir0B863KZiDhM3b5BvEeY+EKxOem7zxYw18HnJPIi4hX+B16ln13iK9gol2 dE6h5e6GpXW7uNdS/NAi8BHQ0+ogK9ZQXZ6qedEUinLkyGwh3gzKZ/mPbl3LHJp7ZMB2 fH6TvwTVCmtIX9QiGGOaUhit48kw5ifJsOjA3i2p1n7xK8yskNj3fSwa76PBpfxwAVXZ tmrs4ksXPYIrr22WAeiDSfBJ07W282HTr75zW4kgaNAsNtdLNaW2UZB6/uqlvUFECgGo ffJg== X-Gm-Message-State: ACrzQf1nRtfL+uDI14QVY1LGlEWPbfFtUr1QZ13kLXJLP15gQ/t2mco8 j8RIr+eT9jpbW6vw6VkYgCsBdVQoq3DjjmADdYg= X-Received: by 2002:ad4:5966:0:b0:4ad:7832:a8ec with SMTP id eq6-20020ad45966000000b004ad7832a8ecmr25535024qvb.82.1664363480327; Wed, 28 Sep 2022 04:11:20 -0700 (PDT) MIME-Version: 1.0 References: <20220928110509.13544-1-ilpo.jarvinen@linux.intel.com> <20220928110509.13544-4-ilpo.jarvinen@linux.intel.com> In-Reply-To: <20220928110509.13544-4-ilpo.jarvinen@linux.intel.com> From: Andy Shevchenko Date: Wed, 28 Sep 2022 14:10:44 +0300 Message-ID: Subject: Re: [PATCH v3 3/4] Documentation: rs485: Mention uart_get_rs485_mode() To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: Jiri Slaby , Greg Kroah-Hartman , linux-serial , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On Wed, Sep 28, 2022 at 2:05 PM Ilpo J=C3=A4rvinen wrote: > > Add to rs485 documentation that serial core prepares the struct > serial_rs485 when uart_get_rs485_mode() is called. Remove the wrong > claim that driver must fill it by itself. the driver ... > The device tree can also provide RS485 boot time parameters > - [#DT-bindings]_. The driver is in charge of filling this data structu= re > - from the values given by the device tree. > + [#DT-bindings]_. The serial core fills the struct serial_rs485 from t= he > + values given by the device tree when driver calls uart_get_rs485_mode= (). the driver Feels like this should be before the previous patch and actually have a Fixes tag. --=20 With Best Regards, Andy Shevchenko