Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9465096rwd; Wed, 21 Jun 2023 07:48:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6QsEYR32hVAPLZoyox4yEMEQ0kmFVXdhV+W3roz7Z9tJSbaM8aAbpYqCGrhaO0cl3uvUF8 X-Received: by 2002:a17:902:740c:b0:1b3:dfe5:600a with SMTP id g12-20020a170902740c00b001b3dfe5600amr16517762pll.31.1687358903159; Wed, 21 Jun 2023 07:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687358903; cv=none; d=google.com; s=arc-20160816; b=Od8LKcAbFwJ4Rd1ada3P124YwuL9fwTpOhWi2bA27H62bG8KzqEA+z0HresDNcw3RW o/Gx4e1C5H/iDbMJMJ07QyzjYN8tob2Gpi/A/KslIef+RBCl9bdbs4jaxvH1pSE5ONac 3cD2rBHxlawCQuH44FtPjqXfmmsZzv9/SuXJKZFhTZfxvcx2/za2+StBiv1PD9NXR4a0 +UQF4k110IoNwT4q30JLbdWW7ShGXMwKwYQHRmrRtYx8qvN7g6ZZ+sBqWXKazb0155Kq Eami0bxWfgtis+O5ywMdZ4h3c/BvYcwmyjHpTXkstcKji/u9ho4J+RFkrXnDSl70en/N nyIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xGHrx/SxxYpLEbuHR4G6bfgSgL2Rdngy/C8CJ4Cb4KE=; b=jrxoSxr1YA03vXK3qX4co7dW22ypL77Bult5ELB7aTPmK5J4Kz3opRENgJ0UuqmhWj Fa9s4H5V+nqpcMO/XqqWNcHO+ebWSIT4NEGper9LHktC1CxtgGiv3nXGP+uvwxW1lrx1 ZN9JbbX2OHEL1yhYCsr6xrqNEH+3HqPDJl5bx0AfG6abDqHrUCmpS4TMg7XQRfeK4YyE xfvR7homa4H5YzKpr9CgYRS9QKC9WniExRFoa1qEVEvmnJRj6n+XGTc+kPNVl9a/UbqN lCAMoAp9/fKCOzmNcxUcFa4DcxVZsdZtfPUTmnjbyj3iStryWYx4TodcmF3rkwxMffrT zYbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=lLiL6HG2; 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=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a17090340c300b001b3c40cae6dsi4381933pld.342.2023.06.21.07.48.08; Wed, 21 Jun 2023 07:48:23 -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=@lunn.ch header.s=20171124 header.b=lLiL6HG2; 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=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232904AbjFUOOS (ORCPT + 99 others); Wed, 21 Jun 2023 10:14:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232793AbjFUONr (ORCPT ); Wed, 21 Jun 2023 10:13:47 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 758642682; Wed, 21 Jun 2023 07:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=xGHrx/SxxYpLEbuHR4G6bfgSgL2Rdngy/C8CJ4Cb4KE=; b=lLiL6HG2Gc7UyBg8LM2FjaNSHu 4F14ugN6cRl2Xj5Fj+/lNKMPozekXHSBscfDUfCTUqM4fhYdSgoyb+TjdOCZPvihfG7MfZ/2ZMdv9 F6bBEUPUufyWiG1s6fYLBY5uoQAxqOl7PkVN13qsFBNcqF32E4972NuSoEu1WnvEADP0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qBya3-00H9Ha-D4; Wed, 21 Jun 2023 16:13:07 +0200 Date: Wed, 21 Jun 2023 16:13:07 +0200 From: Andrew Lunn To: Guo Samin Cc: Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, Peter Geis , Frank , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Heiner Kallweit , Russell King , Yanhong Wang Subject: Re: [PATCH v3 1/2] dt-bindings: net: motorcomm: Add pad driver strength cfg Message-ID: References: <20230526090502.29835-1-samin.guo@starfivetech.com> <20230526090502.29835-2-samin.guo@starfivetech.com> <20230526-glutinous-pristine-fed571235b80@spud> <1dbf113c-7592-68bd-6aaf-05ff1d8c538c@starfivetech.com> <15eb4ffe-ea12-9a2c-ae9d-c34860384b60@starfivetech.com> <8e2a50b2-a9ab-e164-a3c2-b7bc11ccdb53@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e2a50b2-a9ab-e164-a3c2-b7bc11ccdb53@starfivetech.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 > When we need to deal with current values at different voltages, > using register values in drives may be simpler, comparing the > current value. Register values in DT are only allowed in the worst case if its all undocumented vendor magic. You have the needed documentation, and its easy code to write, lookup a value in a table. Andrew