Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3446444ybg; Mon, 28 Oct 2019 12:59:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDs/9qUOl8sYA4QrPmqvbELaVRW45s6bf95m26ywTzvOyycdX/7vq+JlviZakLkS6K5Q4P X-Received: by 2002:a17:906:4d4f:: with SMTP id b15mr17915150ejv.81.1572292779555; Mon, 28 Oct 2019 12:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572292779; cv=none; d=google.com; s=arc-20160816; b=ClS5MqH78w7ed7JVf5DtAekE/QJdkaFWjtIiQHtY3kPohhCqeHvoU4UV8hZibyHzi+ VOMBJcMOuXY3rJv5SXJ14f8Am1tByIwswc8WwCKJfZ711ujHmZnPzO5mtsRUY2ABP/q8 hOSY9qIMIbgZMh9mN1sDlOO2I+snPXdZfpCkuTuu4Peq9o5q52i7oMkzLCB5gFPXhH0t 5WJSc1o/0JzOFNq/OnSr7ghIsZ8zKQV4/eoZbanFITfHLCxbKfxDjoSUnmowqksEjxhv HLcqJ2gtX3G23TxFP/W5H81FM8xigWbcOosoiRp9SMXvQevNdJ4L4XFEWipZggE3zZJd ajLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=lcnDDmTu4GcwuWQCruzF7TpeWsLDjVNwKT9JmskCNT8=; b=XCecm0YS3X3cQuICrxXr7Qd/pdx+HYxxmrfmyFHJ6vjF8dI3z0p96lwPSjqXmVizcO 5LvsbITipfusxrVyRG8ICHswdZ+QpdWymRPvLlDtudpPXVljcrn6C55/qzdNylJnlnyx 2wdROuL6bNsSFMmpBKvKPLnNsE2FJoAagKxv8x0qmU9nAtOMcKP/0TH0q5n5oMNztQN8 fr2gqJ8xYYW2kfwyN4f19MIcPjQ3qC6Ylk+VtjQ617LHP6xARuXMCD407CqbtsIxcJ8N sW3fi98Nlooxe1tmXGmkPVH5i3lpvL6X4yAcH3oLY54ack7kfcpAukmEp/206bcZanb9 cWXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f45si8517086ede.381.2019.10.28.12.59.15; Mon, 28 Oct 2019 12:59:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728103AbfJ1Lux (ORCPT + 99 others); Mon, 28 Oct 2019 07:50:53 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:28434 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727480AbfJ1Lux (ORCPT ); Mon, 28 Oct 2019 07:50:53 -0400 X-UUID: 8a2e809aa651414ab28e88141f6ac0d4-20191028 X-UUID: 8a2e809aa651414ab28e88141f6ac0d4-20191028 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 236430902; Mon, 28 Oct 2019 19:50:47 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N1.mediatek.inc (172.27.4.75) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 28 Oct 2019 19:50:43 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (172.27.4.253) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 28 Oct 2019 19:50:41 +0800 From: Jitao Shi To: Rob Herring , Mark Rutland , Matthias Brugger , , , CC: , Jitao Shi Subject: [PATCH v3 3/3] arm64: dts: mt8183: add calibration property in mipitx and efuse Date: Mon, 28 Oct 2019 19:50:39 +0800 Message-ID: <20191028115039.96555-4-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191028115039.96555-1-jitao.shi@mediatek.com> References: <20191028115039.96555-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-TM-SNTS-SMTP: 874EBAED7C61D14B2E6DF088FC4F8EEF8DE1751A9C5E2DE6439A9E921321BBBB2000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Get mipitx calibration data from efuse. Signed-off-by: Jitao Shi --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 2b6e010d6866..7bfb8dafe1ce 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -668,12 +668,17 @@ #clock-cells = <0>; #phy-cells = <0>; clock-output-names = "mipi_tx0_pll"; + nvmem-cells = <&mipi_tx_calibration>; + nvmem-cell-names = "calibration-data"; }; efuse: efuse@11f10000 { compatible = "mediatek,mt8183-efuse", "mediatek,efuse"; reg = <0 0x11f10000 0 0x1000>; + mipi_tx_calibration: calib@190 { + reg = <0x190 0xc>; + }; thermal_calibration: calib@180 { reg = <0x180 0xc>; }; -- 2.21.0