Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1169583iof; Mon, 6 Jun 2022 23:09:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlqWRQEEV7nJiJ2rJ0OGeTBZz3WBucZRzDNGn3NJl6ltiGe8GzZjCMM91Sx9B8b4I1A788 X-Received: by 2002:a17:907:3e09:b0:6ff:20f:9b1a with SMTP id hp9-20020a1709073e0900b006ff020f9b1amr25226078ejc.679.1654582174758; Mon, 06 Jun 2022 23:09:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654582174; cv=none; d=google.com; s=arc-20160816; b=Sn6jIdnv0K41zoIpadwoVWJZ8d5Wz7Rd05i3F6WWJ/YuzNWpT85KICo4B+yReJ6msy B19oB0xEhE4Q3jDrI0fZEAzh47RoV+2RUWW+LZj8kRLdYe9F7Ecxz2dpZRoiKgEa9xGF 5fRALboOf7y2yDeAiXm2jA1QhGWIcJ3JomphDdIkSxWSBY5/AuXXxoCyuz1nmFWDG6XQ vH7xWvxiIzgASwo4WrzUSvVanujRdPWuAEgSbx6B8Dzk2Y+ZNPUliYR3Ub1aIqs0Tm/B FRdJBYAhnzsVM1N42P7PlmfcGFsGUrZXgiBhc0eiGQAXw6hZbe//Pvtn85bjf2ifOc2Y bgGA== 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=iGWULO+VlekG2EE2L6kpDe23jcWGlAVkecnxC28q3Fk=; b=WIOT2978xf3C0aNEh2FcVo256QAw6ICxh+M2FYl/GodchVofQj7BOajbUEVw0aQRa1 3QWo6VjUXF8SUu9/RP48JbdCNNjCEEYqTotQ4wvviHI0jyjyHyNdzWuEnek2DxUzypk0 nJGrPbKoNsjWBm6obnLjiG7g4bMw5GuL6691YvN4YQq0RmiBfHuS3OvKJv4Qlmc04YqC C8PWvVZl5H5DseAmdBOAM4rUX+boteamO9CC0df6eIEsUQrTEah+9mEf4WlWwr8bXRDN Anz0xakKnpcHy+TB9m2D2IQPimbwkVSaqtNpSsm/TBZRO8s0yFRkcav5zNLn1s48Oepx KDjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=L6Jm7Qe2; 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 ne21-20020a1709077b9500b006feaf0c9605si10884327ejc.676.2022.06.06.23.09.05; Mon, 06 Jun 2022 23:09:34 -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=L6Jm7Qe2; 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 S235024AbiFFV6W (ORCPT + 99 others); Mon, 6 Jun 2022 17:58:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231645AbiFFV6T (ORCPT ); Mon, 6 Jun 2022 17:58:19 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1C306B03E; Mon, 6 Jun 2022 14:58:17 -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=iGWULO+VlekG2EE2L6kpDe23jcWGlAVkecnxC28q3Fk=; b=L6Jm7Qe2S7ghfnq07Yhxfp3OmP ae/Fd7W5GkLhDvCLrSFuHAeEaZ3dL+JPBs0gNCYZDLkMPymyVTUJTUlZW1ZUzlNd0SKEpBWpcLvKv 7tzm9jhXcqWeBQ52wvAhYHYyswSrRJOQPzXFRup1HtJjh9/2knOQrqZ72wSUFIgCPE1w=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nyKjY-005qoa-Tb; Mon, 06 Jun 2022 23:58:00 +0200 Date: Mon, 6 Jun 2022 23:58:00 +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 > There is no documented mapping from the 32 possible values of the > IO_IMPEDANCE_CTRL field to values in the range 35-70 ohms There have been a few active TI engineers submitting patches to TI PHY drivers. Please could you reach out to them and ask if they can provide documentation. Having magic values in DT is not the preferred why to use it. Ideally you should store Ohms in the cell and convert to the register value. Andrew