From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ED1C3C43334 for ; Tue, 5 Jul 2022 20:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PHfYNzcb3fg4Em/yCdLsYJJxmIbaVs2td/QR6WVul/k=; b=diH2mA9DI+nVOf G/CCEeo1wT5L7hJJueF3bkxSlpuFN0fbBsc/IpohB4kWzKnAeV0vfP98GMSu4IJUMZVogj9dkI5ow HpS9QfdxYSt3ydM70zvTyLRmZM+HciOEN/wfxNLCrIw6TD+lCJSIGYD9Xigs4BU56kf1evPg01neY xY0+b8WX0ptMTs6dRBN3bqI0qOy6T/aVOLbFf3IrGUdFY7G1+7kXIPkP3N4eNAvfseS/U/qTInVQa KuwELl/nEQdtNpBlVkPwQ2fUd6/9oTv8ZbEM/8EBpdOT0C2wFstNnvx6e8hoMtdXI3ODVQWxOJiKF pLAHieTyvVScTjhyB07g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8pJY-002elC-2K; Tue, 05 Jul 2022 20:38:32 +0000 Received: from mail-io1-f42.google.com ([209.85.166.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8pJV-002ekO-VE for linux-arm-kernel@lists.infradead.org; Tue, 05 Jul 2022 20:38:31 +0000 Received: by mail-io1-f42.google.com with SMTP id v185so12240390ioe.11 for ; Tue, 05 Jul 2022 13:38:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GDJzRfg3CLq/enCCXl/7+ZCKOLr3I0V4v0iaJ2Euu4E=; b=uWsvymTN/DxzpCav7CfRqJ41uunZoDK8ouu8rx9s7WLNmr2YRgzNdJTq/jlIc56rFV TrcEF23Jz5v4dQHi1zTpKjJYpCn3IBObxeJKi8hvTkDrfoXVNtOehCRlKGLAneXQrNs+ Cka9MuKZfjCCoOvy0/82kk6nm3tNIiUmxPQ2C/gWPRUPYPBy6rb3fbaLc8BpUHyEaV9o YKfmcbCu7V+T34eeG+xOKIt4fvnuFz+8RM1GQwefa3rXy/xKlTyrIV7OKg5CVoo/R219 BeWhTSUyzD0Rxg9j1E9g1C6dcos0UxL8YTKfhbpTvoYKT/L79zc6OGtzR5Ce9XMPZtOK dBTQ== X-Gm-Message-State: AJIora+5ExHAPpQTbRI/2ajoKFaweyDSKKyHBjHFZYdY7NvdRogil4Mx gv6VC096uBoCBPHyu1MdL5gg9cVSrw== X-Google-Smtp-Source: AGRyM1trii1EpHOBibCSlo/2ChUwNWPZ2PHVASVqkNIDErfiuZURgoB51RlVuVr6xjllnkX2eJHP4g== X-Received: by 2002:a05:6602:26c3:b0:66c:f8b2:53c with SMTP id g3-20020a05660226c300b0066cf8b2053cmr19468133ioo.50.1657053509227; Tue, 05 Jul 2022 13:38:29 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id o1-20020a056e02068100b002dc1c1fcb29sm1749170ils.65.2022.07.05.13.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 13:38:28 -0700 (PDT) Received: (nullmailer pid 2583922 invoked by uid 1000); Tue, 05 Jul 2022 20:38:27 -0000 Date: Tue, 5 Jul 2022 14:38:27 -0600 From: Rob Herring To: Lino Sanfilippo Cc: linux-kernel@vger.kernel.org, ilpo.jarvinen@linux.intel.com, vz@mleia.com, devicetree@vger.kernel.org, Lino Sanfilippo , linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org, andriy.shevchenko@linux.intel.com, p.rosenberger@kunbus.com, krzysztof.kozlowski+dt@linaro.org, lukas@wunner.de, jirislaby@kernel.org, robh+dt@kernel.org, gregkh@linuxfoundation.org Subject: Re: [PATCH v2 5/9] dt_bindings: rs485: Correct delay values Message-ID: <20220705203827.GA2583869-robh@kernel.org> References: <20220703170039.2058202-1-LinoSanfilippo@gmx.de> <20220703170039.2058202-6-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220703170039.2058202-6-LinoSanfilippo@gmx.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_133830_050496_DFCE482D X-CRM114-Status: GOOD ( 16.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, 03 Jul 2022 19:00:35 +0200, Lino Sanfilippo wrote: > From: Lino Sanfilippo > > Currently the documentation claims that a maximum of 1000 msecs is allowed > for RTS delays. However nothing actually checks the values read from device > tree/ACPI and so it is possible to set much higher values. > > There is already a maximum of 100 ms enforced for RTS delays that are set > via the uart TIOCSRS485 ioctl. To be consistent with that use the same > limit for DT/ACPI values. > > Although this change is visible to userspace the risk of breaking anything > when reducing the max delays from 1000 to 100 ms should be very low, since > 100 ms is already a very high maximum for delays that are usually rather in > the usecs range. > > Signed-off-by: Lino Sanfilippo > --- > Documentation/devicetree/bindings/serial/rs485.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Rob Herring _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel