Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1255548ybv; Sun, 23 Feb 2020 02:40:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxdSNJMH/CwUwqi+ehITKY2hE2NSLCG7vC9eGmmLzWYr/cehf3Ik17YUDZ/3+lnkoqDVGst X-Received: by 2002:a05:6830:1691:: with SMTP id k17mr37107572otr.282.1582454445136; Sun, 23 Feb 2020 02:40:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582454445; cv=none; d=google.com; s=arc-20160816; b=CFH9BcP7Nrm7CQL2uLBJOVESqe6LkX7ltzdJxNRqmdSO6uHszGycJsm+u6pqpvBLFD 6JYTgyiEl9+kVtK0Id4y3n9tGLyH7q1QNkvURjl4gJDaIHVi4GFkruOy6dYnX8kkWUrY ZUeoL85I4I2sR9ibIL32ib/yr0OKaic9mGPdWPBGAV7v/tjm6AdtCFR+Er/oRaguWItb dEsAp0UmCr9mz1zBgek6byeZDFjDweKgWmEPgNJhiHiX645Jp6XFulHYAETZA9DD50ve e2jg7971riJJWxLMAl4+2YefllQz5zNUphhhO7naT+0fXgHn6Xdh54RflSZjHmrqgBvF Srkw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=Wlj6ERrtE+7iCcPCRWukvs7CFnsLQ1UvtmcAK2wJHd4=; b=DenA24200FlvVPL6m0rSUBaHpE1RgvFCbEGYPuN22hXNdFd0rctxHW8P3qQvsvNjnL ZCDbtjS5uTHs1M6AbtQ9ksGwVk72Nqofsy4HMa1AxpPESjgOCmgS1PRLKFP63nmjiXIB FTnWxQJUGwmD37eLrXF+eHI65c7gBwXF8mvaNkbxhg2Db2kTonQ+7ljfVWKIoAey4I3v uFfbDhDQAgjrpnYuLvZf1FEH31tua4c7lzNzp2kXEJq2zItlWYimMOt8ZVk8YJFIpsAV 9IL1ZZ6EHuODQro4o1uvMAcJ7gQwXKFwKMQaIem8LM8iYc7VH93P6JvlKRH+c64hP+wr o/DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=WWSCQvGx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si3300991oix.109.2020.02.23.02.40.32; Sun, 23 Feb 2020 02:40:45 -0800 (PST) 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; dkim=pass header.i=@megous.com header.s=mail header.b=WWSCQvGx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbgBWKk0 (ORCPT + 99 others); Sun, 23 Feb 2020 05:40:26 -0500 Received: from vps.xff.cz ([195.181.215.36]:41812 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbgBWKk0 (ORCPT ); Sun, 23 Feb 2020 05:40:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582454424; bh=yQi5LUYQ7kGvpcOP6gpK0t0DsHyR0thPiy164ClcnMA=; h=From:To:Cc:Subject:Date:From; b=WWSCQvGx9mHzPDvEbm+0tNohoy7zQPtUIoEW0CFCRiiFj/Ah2EWKI/Bb/GWn4BN+N v4Rkbb/j0uKW1Rv2zWBDErDRrNaifnTJQ0P+nVrlIa+NUi9QIMnlrcg2JjhiiAoDLZ lruh0UqyzkhGXVl7y3f5S5yzIxyr4uLTR9zCbCsk= From: Ondrej Jirman To: linux-sunxi@googlegroups.com Cc: Ondrej Jirman , Samuel Holland , Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org (moderated list:ARM/Allwinner sunXi SoC support), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2] arm64: dts: sun50i-h5-orange-pi-pc2: Add CPUX voltage regulator Date: Sun, 23 Feb 2020 11:40:19 +0100 Message-Id: <20200223104019.527587-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Orange Pi PC2 features sy8106a regulator just like Orange Pi PC. Signed-off-by: Ondrej Jirman Reviewed-by: Samuel Holland --- .../dts/allwinner/sun50i-h5-orangepi-pc2.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts index 70b5f09984218..7b2572dc84857 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts @@ -93,6 +93,10 @@ &codec { status = "okay"; }; +&cpu0 { + cpu-supply = <®_vdd_cpux>; +}; + &de { status = "okay"; }; @@ -168,6 +172,22 @@ &ohci3 { status = "okay"; }; +&r_i2c { + status = "okay"; + + reg_vdd_cpux: regulator@65 { + compatible = "silergy,sy8106a"; + reg = <0x65>; + regulator-name = "vdd-cpux"; + silergy,fixed-microvolt = <1100000>; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-ramp-delay = <200>; + regulator-boot-on; + regulator-always-on; + }; +}; + &spi0 { status = "okay"; -- 2.25.1