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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5917CCA47A for ; Tue, 14 Jun 2022 08:46:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355890AbiFNIqc (ORCPT ); Tue, 14 Jun 2022 04:46:32 -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-Google-Smtp-Source: AGRyM1tzG0TopbkaXDtd7WfOts0IhCRlPW54nF5yv2F+oFI5wCP+/gDXlo7C19R81acSp7hNGVYawg== 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 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