Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1742880iog; Tue, 14 Jun 2022 12:15:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUuxtXwIB0Wb1B48U3dmYp/kkrZEhVxeOynPLQbWE+v7vaXnJXgZ1am/qBMakU/7czf4Ca X-Received: by 2002:a05:6a00:170b:b0:51b:d1fd:5335 with SMTP id h11-20020a056a00170b00b0051bd1fd5335mr6010688pfc.28.1655234147524; Tue, 14 Jun 2022 12:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655234147; cv=none; d=google.com; s=arc-20160816; b=GHf1ek4H7i5L1zKAnalnR7JkKhxEW8woALC0nElXVLj8mrttBLS+ne0JQD1Ro9iuDF 7gWV0bxkM6tsEhom2joCOStjT7UDNt/s+1e6v5VzcStLNpFzJC1AJ/wZ1LsrDHW7SvpY wWOpIZFA7m0ToXavJvJe6Y/XwU+3E8ktoMR3e0X0SfWWGYmIb7dZ4YCht/RnSfh92gKJ 8/MeLVETe6emN51pTFljKEQexHsJCGSprugyRocAOlrWIJDe2tDScLm5OZw7dToh8HPv NOJyfakYSpDD9VSz1JvGYx4czylrZj+4Wn+UZbV8/ugNOtAc/0LXrXIKDnFws8Go3EGc U8iw== 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=nv1zvia7YW/sCDV/c7twLHwtsEJhBvBCb96DvXq4RLs=; b=HQm7KBkM+g3CzH2wuyvqPt5xWKMKq8kB4EPj4F40LYJywwCT/Mwj6KRXxsFlFNm48E sQWwhDWUdKctoa/5mZT/80LZ/eBG9zRmQ1s02fQQACZeeE16jkKMAdIIL2XT+MmpfnnO P7YXwpdU1uEMHnny1FDh9w2Fy+4u6dMD6ZFFdxCxijygmivHNm4bpZp7lcB64EAZDqWo iXQzaxQNVjC2dmEmL7tiwJ40zBJv3Fg0YcB9sSumN+XsHI/pTLPliauJH0N/Ojc5byB4 ECokErV5Kp2b6u7KxAXzFSI/Y+MMEWZovEAy9zjH3uVc8Fz095+DsMJCrH4Jqv84MSsP hMWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=by2kBTic; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a170902740a00b001617784ea88si13496059pll.356.2022.06.14.12.15.33; Tue, 14 Jun 2022 12:15:47 -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=by2kBTic; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358074AbiFNSyY (ORCPT + 99 others); Tue, 14 Jun 2022 14:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358659AbiFNSxf (ORCPT ); Tue, 14 Jun 2022 14:53:35 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF4C651E4A; Tue, 14 Jun 2022 11:47:00 -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=nv1zvia7YW/sCDV/c7twLHwtsEJhBvBCb96DvXq4RLs=; b=by2kBTic1HD3b40bFBh0cXwH3g PymT00QkEyb05+61XIky0czYGuWXdgNLSYJwWZ3odJQAHMXI2F7P9Ql/Gjlxhopx2/806IO5wgOck n0VIywCwGmO0GSUgHghXfXx5dVCti4Ss7gjd7SDh0srUjVjTL0T/uFM7Wxfj7WIVoUks=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1o1BYu-006vA7-QV; Tue, 14 Jun 2022 20:46:48 +0200 Date: Tue, 14 Jun 2022 20:46:48 +0200 From: Andrew Lunn To: Rasmus Villemoes Cc: netdev@vger.kernel.org, Heiner Kallweit , Russell King , devicetree@vger.kernel.org, Rob Herring , Jakub Kicinski , "David S. Miller" , Dan Murphy , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/3] dt-bindings: dp83867: add binding for io_impedance_ctrl nvmem cell Message-ID: References: <20220606202220.1670714-1-linux@rasmusvillemoes.dk> <20220606202220.1670714-2-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220606202220.1670714-2-linux@rasmusvillemoes.dk> 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 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 Mon, Jun 06, 2022 at 10:22:18PM +0200, Rasmus Villemoes wrote: > We have a board where measurements indicate that the current three > options - leaving IO_IMPEDANCE_CTRL at the (factory calibrated) reset > value or using one of the two boolean properties to set it to the > min/max value - are too coarse. > > There is no documented mapping from the 32 possible values of the > IO_IMPEDANCE_CTRL field to values in the range 35-70 ohms, and the > exact mapping is likely to vary from chip to chip. So add a DT binding > for an nvmem cell which can be populated during production with a > value suitable for each specific board. > > Signed-off-by: Rasmus Villemoes Reviewed-by: Andrew Lunn Andrew