Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1243296iog; Tue, 14 Jun 2022 02:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNZl8Tyo6plZV+qJ7xMFqAPqaw8pzH0/8AF1NPJ0mQFEY95QNWP/OOSbodIKELHRihKMN0 X-Received: by 2002:a17:907:2d86:b0:711:da8b:b579 with SMTP id gt6-20020a1709072d8600b00711da8bb579mr3274888ejc.67.1655197621235; Tue, 14 Jun 2022 02:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655197621; cv=none; d=google.com; s=arc-20160816; b=a6KTK82rWGkBat2BkjC/1eJ98I7KEaCq7Y3x8Q4zyNNkxrGnHvJmediPtjMYlEgZBN i70MxOhMQ3YQuH36IKkPPptRMfUGEd6cpE6M13nFMXkFXhoCMcZN8q9yt818LYtANPbn Z95Wm7uEHHwDJvMz0874oEM1a1YEeNM+CkgYokx4zMNQK1hF/3qUwoNPhuXSIKPnYf3k n8Eh4R0XJZvQYoCQCO/sEWqVU1x830X9RATGg/fFvrKZ6zVn3GC5QyW+slxAV1eqJ/yN 5Fe7+wdm/pQ2OC3Eo+z2SAvmHghW2C3+6mB9NXNZ3dapayhDR8h52mMA9c1MZ59Dnfo1 Lm0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oAM/zOlGk69QAKmLEbCK7uqIsInmgsnJK9Xbeld2dog=; b=a6FpuclRP5nn+mdy9O4gM6VchASIYZ+Xan/ovqV84Y6eHEPRHIOuV8KI/nObj6cJSo ERKKF5dCL6ZxTDc5fMlU2F0XstAsoJEHUOtLVTTcLGfGYDlWjvS+tr9JoVvt8irVgVpE tClVuEhyeKVuYvlAHfSU+DaqUhd3unF2K8J0k27eMomNMyRrxA02m7t2HL1MoY5x+0pl kM2vPE9T3pTMbppqSpFnGxjHSBaTfkTKQqD4wKkfQMXeVDSBQi21A3jLe5qMuaEivzqE ElG6RkMPLYVOFB9cNuvbJX7LLhHL+sKCq4JmrwFdkl2ExSXURixgJ2U13Go1MOxX8ygR uNKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=SoN3jyIQ; 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 cs19-20020a170906dc9300b00715854c2765si8640087ejc.757.2022.06.14.02.06.34; Tue, 14 Jun 2022 02:07:01 -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=@rasmusvillemoes.dk header.s=google header.b=SoN3jyIQ; 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 S1355778AbiFNIqa (ORCPT + 99 others); Tue, 14 Jun 2022 04:46:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354798AbiFNIqU (ORCPT ); Tue, 14 Jun 2022 04:46:20 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 530FE43386 for ; Tue, 14 Jun 2022 01:46:18 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id i29so12822692lfp.3 for ; Tue, 14 Jun 2022 01:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oAM/zOlGk69QAKmLEbCK7uqIsInmgsnJK9Xbeld2dog=; b=SoN3jyIQNNsSO7JvxajFVqlgulTcTmb7za0HscZds7fr0jY/8RJqMME/cDfPiHpE0q w8G5t1YfM1/2KXP0sB3ABVU4CZFYeXBrkROawX7KXInxPIWra5F4CGzFo4MvJlOKqWjk tqYkN3xMfvrKixnJ4i3u3S43w5Tq0cvHaIdLE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oAM/zOlGk69QAKmLEbCK7uqIsInmgsnJK9Xbeld2dog=; b=SoLmRg87MMSx2ioDOMPS/fjd86olQWtlMCM5tpMLWWcSl4bSY4uknSAaKboCrDzDU6 bPYMN13uBtBMmZoORw3bnbociP9LhDCUk9qy2NPQKqis9g3ti/zq8uGf+T5p9UWbw0XH 3GomY21pJ99hARROghBHFRDM5yQwfl0haZrXKh/ZnzY9xkK5EhvdXRaU9axzT1QyzyFR 57m4j0b9C/Pk+KUK8s0c+dsst0ChTjNjfoSnjVf/NToQzXQwiO9wFQDTlxwEJRBrCC8U nB1DT5vrdZMcpF6VrK4FKptaFR1yJcsIrdgfmgfcy06rSrSWi0gjNac6R08fYNpvhD4N Hslw== X-Gm-Message-State: AJIora945NX53DLIfgTw4BNZpEJhP3QIu1DcnApmcTg0dDIQJJTeJQr+ KYvkmho4yJpHWfR8IJvZoocyVzqOR+MQd6SZ X-Received: by 2002:a05:6512:3d8c:b0:479:51be:727f with SMTP id k12-20020a0565123d8c00b0047951be727fmr2491926lfv.289.1655196376583; Tue, 14 Jun 2022 01:46:16 -0700 (PDT) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id g1-20020ac24d81000000b0047255d2118fsm1306116lfe.190.2022.06.14.01.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 01:46:16 -0700 (PDT) From: Rasmus Villemoes To: netdev@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Russell King Cc: devicetree@vger.kernel.org, Rob Herring , Jakub Kicinski , "David S. Miller" , Grygorii Strashko , Praneeth Bajjuri , linux-kernel@vger.kernel.org, Rasmus Villemoes Subject: [PATCH net-next v2 0/3] dt-bindings: dp83867: add binding for io_impedance_ctrl nvmem cell Date: Tue, 14 Jun 2022 10:46:09 +0200 Message-Id: <20220614084612.325229-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220606202220.1670714-1-linux@rasmusvillemoes.dk> References: <20220606202220.1670714-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 We have a board where measurements indicate that the current three options - leaving IO_IMPEDANCE_CTRL at the reset value (which is factory calibrated to a value corresponding to approximately 50 ohms) or using one of the two boolean properties to set it to the min/max value - are too coarse. This series adds a device tree binding for an nvmem cell which can be populated during production with a suitable value calibrated for each board, and corresponding support in the driver. The second patch adds a trivial phy wrapper for dev_err_probe(), used in the third. v2: Improve commit message for patch 1; add Rob's R-b to patch 1. No changes in the patches themselves. Since Dan Murphy's email address bounces, cc'ing two other @ti.com addresses that have touched the driver in recent years. Rasmus Villemoes (3): dt-bindings: dp83867: add binding for io_impedance_ctrl nvmem cell linux/phy.h: add phydev_err_probe() wrapper for dev_err_probe() net: phy: dp83867: implement support for io_impedance_ctrl nvmem cell .../devicetree/bindings/net/ti,dp83867.yaml | 18 +++++- drivers/net/phy/dp83867.c | 55 +++++++++++++++++-- include/linux/phy.h | 3 + 3 files changed, 67 insertions(+), 9 deletions(-) -- 2.31.1