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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76AB6C433EF for ; Fri, 19 Nov 2021 17:18:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4093661288 for ; Fri, 19 Nov 2021 17:18:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4093661288 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JytORbGfTc2sFkgJwZ2mzM7NLNDrriEwXZL7Kjx1bXA=; b=bcx6pCgRNBQZrxXpr+hi0a8zE7 jS3NnJX9R8oJTaP0qCsAlavA0nOKN58NJRASaTmYJPu17KWm1BGwArkFW0E6b2syJfwSEW/YyO7NH AnJa4uz5DU2lxAREKFxdiqYYwnqohtU2diTnB9cjAKOsL5AyTMDhSpHK0uE0jNH8Jj9vQP2jqvZbc 2ChN/2xZkJrjm5Wt/XnkkN5ZTUNlCLJK0qujiIugZosIoKuKHFhxNw0MMKBRp7nzjSB0VneEZQIlP 0HL7CyxuMmzjd3V9jAtgCglGhxLMGsh3WeTdi/6olDegz94tz9Li7VfhNep/M8AGj4vG9QfHAaC3a SLPr7hBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mo7XM-00BBZI-M8; Fri, 19 Nov 2021 17:18:56 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mo7X4-00BBSY-HF for linux-phy@lists.infradead.org; Fri, 19 Nov 2021 17:18:40 +0000 Received: by mail-wr1-x42e.google.com with SMTP id u1so19292634wru.13 for ; Fri, 19 Nov 2021 09:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HMba7SAsUGH242uSK3/7WP5AS9Iw2TY41OiyipBfcUg=; b=rrZM4BffqfpVGWzJbsm3CnzC/M4DKrHytojXrXGboR2q1AMTdCzqbRpiaf2ey5xE41 Km9W7Lkh48V7hAUhmpkdS1rD9wOFTSIPdTKzJwgb38RKSHBcqqqZlW3/82bGhz65gZ64 xxdKmlLHoBUxKul8mSJ1vOkoDr0/oXMunSgKuJWuxvrwc7fpnsExrWc3gvb+2Lpv56kr bVw44NVK6JrFoZBOyq/Bv0fSBy1PnWsAnDKmFn7P8b4lwrxhXXHHv/aMzY+6Akh2hBka JaTXFPsYd4u7+8D+it/39z8VvQt/29oNb8oss9AQujqXUvEFaj/4kqD95Rv7nAD7hIjR vBeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HMba7SAsUGH242uSK3/7WP5AS9Iw2TY41OiyipBfcUg=; b=sdkQ8TRxj2sSDmFqYYf4FvfLUomKJYw2WsRTlVWTLLNEsJIg28kW6Vt09reangVBXM SKJAmd5XN2cZuV3WIexNkKgkmqG+GpsKB7IXflDh+kvTXnRuCVCWOEHLcMQySBiAXj0o qSxXMJSVb1C4UJP4WT7/pckkBBhEIuZbNqXsRkKYcDdptq3Dhi4QGXSp/EIHwMFyDNYZ 2puH7Hj5sB2WfR0LLmpvt5xP1b3NkwJgiE7HVQu8yn2nrya1/UxYKUDsqFzeaZO4mHAx sAO7yib4TVcKJwwKGqr0uWcM9d/rVv4YCdKiVftoRIMwYs3Y74ggg2kX7mdF5FmMg+zv Cglg== X-Gm-Message-State: AOAM532HHOpoaLW+hCp7ZzbpkqsvSvkp8zTbBarwEdwqeFWQiHjMNchE xshHTBa++N/hRhF0cfLMx2n9LA== X-Google-Smtp-Source: ABdhPJyqYg0ItuAFmaZy7wd0/6w1bO0CFWmFrGNkYO6UjS5N5ahOt4R4EqnmqUkG9sOYmRybrUjNyQ== X-Received: by 2002:a05:6000:188c:: with SMTP id a12mr9445364wri.92.1637342316277; Fri, 19 Nov 2021 09:18:36 -0800 (PST) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id g198sm258695wme.23.2021.11.19.09.18.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Nov 2021 09:18:35 -0800 (PST) Subject: Re: [PATCH 4/6] dt-bindings: phy: mediatek: tphy: support software efuse load To: Chunfeng Yun , Rob Herring , Vinod Koul Cc: Matthias Brugger , Kishon Vijay Abraham I , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Eddie Hung , Andrew-CT Chen , Yz Wu References: <20211107075646.4366-1-chunfeng.yun@mediatek.com> <20211107075646.4366-4-chunfeng.yun@mediatek.com> From: Srinivas Kandagatla Message-ID: <71f83770-b12f-2452-d24b-ae1be9b5b075@linaro.org> Date: Fri, 19 Nov 2021 17:18:34 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211107075646.4366-4-chunfeng.yun@mediatek.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211119_091838_618220_9D61E074 X-CRM114-Status: GOOD ( 18.63 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 07/11/2021 07:56, Chunfeng Yun wrote: > Add optional property nvmem-cells and nvmem-cell-names to support > software efuse load, this helps to fix the efuse bit shift issue > on mt8195 etc. > > Signed-off-by: Chunfeng Yun Applied thanks, --srini > --- > .../devicetree/bindings/phy/mediatek,tphy.yaml | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml > index 9e6c0f43f1c6..05ee274b4b71 100644 > --- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml > +++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml > @@ -160,6 +160,24 @@ patternProperties: > - PHY_TYPE_PCIE > - PHY_TYPE_SATA > > + nvmem-cells: > + items: > + - description: internal R efuse for U2 PHY or U3/PCIe PHY > + - description: rx_imp_sel efuse for U3/PCIe PHY > + - description: tx_imp_sel efuse for U3/PCIe PHY > + description: | > + Phandles to nvmem cell that contains the efuse data; > + Available only for U2 PHY or U3/PCIe PHY of version 2/3, these > + three items should be provided at the same time for U3/PCIe PHY, > + when use software to load efuse; > + If unspecified, will use hardware auto-load efuse. > + > + nvmem-cell-names: > + items: > + - const: intr > + - const: rx_imp > + - const: tx_imp > + > # The following optional vendor properties are only for debug or HQA test > mediatek,eye-src: > description: > -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy