Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp443899rdb; Mon, 15 Jan 2024 02:21:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIEbvJBnAqmXfQdvWThNPMhpIs+zocsKPvzL+h5qSpbPuF057j1ONy0l7DriCZqq3etrOK X-Received: by 2002:a05:6808:1a08:b0:3bd:4acf:fd5 with SMTP id bk8-20020a0568081a0800b003bd4acf0fd5mr8326658oib.13.1705314096322; Mon, 15 Jan 2024 02:21:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705314096; cv=none; d=google.com; s=arc-20160816; b=oL6PbEY2iILiQSKTox+5CjhUllJPg9ONC6sSFddeBoC8tDcCnCZnv31TgezGmTCoZb MskkSvTVPf1Nw+KHqi3WQFJ/Nf3utR5B47pMH7G+WDg2P3BZrUsPaym5/+LCgYqZCazi 6hTvnFu/ST/87myEx6aujOAlKilsxXu89GMVjHX3702pHSxKfQ5174o1YT5RqPWg59v7 DVXeyS2TnVu8CPGAb+WB1YuSDivxQVLDPZHo00XBJSeSW59kHsfePWPRY9qRDqrEYZxx wwOl/gEv5D5GCvXLlQunajZAkI+eCG5zsgFQQXm3qzdJ73oveTCvD6/bzG5vzxpRapS1 1pkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:feedback-id :dkim-signature:dkim-signature; bh=tlYr0vGJzYQYoc8BNv3wVi1q8e4xLb6C7VT9Mo7EniY=; fh=B3WDj9eU3yznTG2HrN1SHU1rXSEU/21bccGAIHAO86E=; b=ZKlkFIDIkoJWPBTBLk+U2LhZmON7UgT4sJeWKtYU4k1RhGtQzY1yPOT4WAVVpAZJxf 6rcitQt/PeErT5kwfHlTGZt7L0Yf0LT9JAsJScHr85ZFO6YhJ6P3ikwFnS3b1Xugsd07 G4ThxldB8CnkZKQ69tCCusNzWY5ljImAlRnuxnUfD0mav/bU5akkXt3g3EqksBswrqLw UzVfcEYDMA3Y3xAODdioDyJFJlQKO74M6B2wqz/NJczxH75h4nGGCC7L6ivcVEyq/010 fXd/K0dWJnPfKwSG9HPvdMQoxAnAW0JMAz/ni2csRS4MkhIIQ7Ki/oF03GKMfdZoYEz8 r61w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b="M/EiVjFK"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=UUVk7WNf; spf=pass (google.com: domain of linux-kernel+bounces-25876-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25876-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q3-20020a056a00084300b006d98e57acd3si8639371pfk.401.2024.01.15.02.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 02:21:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25876-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm2 header.b="M/EiVjFK"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=UUVk7WNf; spf=pass (google.com: domain of linux-kernel+bounces-25876-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25876-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 182FAB20989 for ; Mon, 15 Jan 2024 10:21:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DAC6101C2; Mon, 15 Jan 2024 10:21:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="M/EiVjFK"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="UUVk7WNf" Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A54F1E864; Mon, 15 Jan 2024 10:21:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=feathertop.org Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id BD7F45C0069; Mon, 15 Jan 2024 05:21:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 15 Jan 2024 05:21:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=feathertop.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1705314076; x=1705400476; bh=tlYr0vGJzYQYoc8BNv3wVi1q8e4xLb6C 7VT9Mo7EniY=; b=M/EiVjFKbK39rm/VI0X3SyS5wcJdZI3C08Qn19lhEeE96fqs wlNyAymZgrVwZJBHuKVYDsLB8dmzfoFgbglEbUBacu1wUvfW7tbCZTcYpcx/waMX lmfo5hJohhbJcok8BciqL6M5/HtmHkL7qwh9GpTd/us+wJFnqDnyc0a+EPueVSZE kVbPLWLb5zDp04UoXXrKdK0Ql0SMUfvwgRNu5M42yP0OgwPu4fVgRWEit/GS6zdE bTdh0/gycVQJn7mZZSf+TfpfJ4CivS4ZvnMGy4YcfJDFV6DBJeRBQsz1W0JZfDDE t44GNtLgGDVCFYSSNikAuah3oDua33cSU3TcvQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1705314076; x= 1705400476; bh=tlYr0vGJzYQYoc8BNv3wVi1q8e4xLb6C7VT9Mo7EniY=; b=U UVk7WNfdhdbTn5gRgDKsEN0X8fG5CmRZUPMQ3niVxCxsmW1C/WMgJcUNbWaQUxPA kN3DRl7EcpF/UAGIu//KwBZycyKulyxIFj1f+IpMAj4lizKx99m3W3YpfGK+h38l Oduf60AcZJOuhXGvXIXIhinDoGFCBVUNphoniY9WMDidpRNiPod51UODLWleDFqF i7WEOEaslCpHzfBsir8qDoOHQr56v3JGE5/EultYgTspP5RAUf0qD0HWSzKcGOlm 28gmfbeJhGY9FbGnu7Iu05YcQPXpLUe3LxpTMQLRqHfd5EwXXDzc/Bh24cBUhfHa nPYk+x3w1ybys3VdxkvAQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejuddgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefvihhm ucfnuhhnnhcuoehtihhmsehfvggrthhhvghrthhophdrohhrgheqnecuggftrfgrthhtvg hrnhepveeggfffkeduteefteekhfduueegteejteekkeekffeugfekkeevfefgleegveev necuffhomhgrihhnpehkvghrnhgvlhdrohhrghdpihhnfhhrrgguvggrugdrohhrghenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtihhmsehf vggrthhhvghrthhophdrohhrgh X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Jan 2024 05:21:08 -0500 (EST) Message-ID: <0ac2701a-9498-4952-848b-fb614900f3ab@feathertop.org> Date: Mon, 15 Jan 2024 21:21:05 +1100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] arm64: dts: rockchip: Add Hardkernel ODROID-M1S board To: KyuHyuk Lee Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Tianling Shen , Chris Morgan , Ondrej Jirman , Andy Yan , Jagan Teki , AngeloGioacchino Del Regno , David Heidelberg , Cristian Ciocaltea , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240112135004.28907-1-lee@kyuhyuk.kr> <5774eb3f-dfdc-4e4d-985e-3ec4b69ad206@feathertop.org> Content-Language: en-US From: Tim Lunn In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Lee, On 1/15/24 02:10, KyuHyuk Lee wrote: >>> + >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + rk809: pmic@20 { >>> + compatible = "rockchip,rk809"; >>> + reg = <0x20>; >>> + interrupt-parent = <&gpio0>; >>> + interrupts = <3 IRQ_TYPE_LEVEL_LOW>; >>> + #clock-cells = <1>; >>> + pinctrl-names = "default"; >>> + pinctrl-0 = <&pmic_int_l>; >>> + rockchip,system-power-controller; >>> + vcc1-supply = <&vcc3v3_sys>; >>> + vcc2-supply = <&vcc3v3_sys>; >>> + vcc3-supply = <&vcc3v3_sys>; >>> + vcc4-supply = <&vcc3v3_sys>; >>> + vcc5-supply = <&vcc3v3_sys>; >>> + vcc6-supply = <&vcc3v3_sys>; >>> + vcc7-supply = <&vcc3v3_sys>; >>> + vcc8-supply = <&vcc3v3_sys>; >>> + vcc9-supply = <&vcc3v3_sys>; >>> + wakeup-source; >>> + >>> + regulators { >>> + vdd_logic: DCDC_REG1 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <500000>; >>> + regulator-max-microvolt = <1350000>; >>> + regulator-init-microvolt = <900000>; Also "regulator-init-microvolt" is also copied from downstream and not currently supported, see: https://lore.kernel.org/all/20230707162217.675390-1-cristian.ciocaltea@collabora.com/ >>> + regulator-ramp-delay = <6001>; >>> + regulator-initial-mode = <0x2>; >>> + regulator-name = "vdd_logic"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vdd_gpu: DCDC_REG2 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <500000>; >>> + regulator-max-microvolt = <1350000>; >>> + regulator-init-microvolt = <900000>; >>> + regulator-ramp-delay = <6001>; >>> + regulator-initial-mode = <0x2>; >>> + regulator-name = "vdd_gpu"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vcc_ddr: DCDC_REG3 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-initial-mode = <0x2>; >>> + regulator-name = "vcc_ddr"; >>> + regulator-state-mem { >>> + regulator-on-in-suspend; >>> + }; >>> + }; >>> + >>> + vdd_npu: DCDC_REG4 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <500000>; >>> + regulator-max-microvolt = <1350000>; >>> + regulator-init-microvolt = <900000>; >>> + regulator-ramp-delay = <6001>; >>> + regulator-initial-mode = <0x2>; >>> + regulator-name = "vdd_npu"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vdda0v9_image: LDO_REG1 { >>> + regulator-boot-on; >>> + regulator-always-on; >>> + regulator-min-microvolt = <900000>; >>> + regulator-max-microvolt = <900000>; >>> + regulator-name = "vdda0v9_image"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vdda_0v9: LDO_REG2 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <900000>; >>> + regulator-max-microvolt = <900000>; >>> + regulator-name = "vdda_0v9"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vdda0v9_pmu: LDO_REG3 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <900000>; >>> + regulator-max-microvolt = <900000>; >>> + regulator-name = "vdda0v9_pmu"; >>> + regulator-state-mem { >>> + regulator-on-in-suspend; >>> + regulator-suspend-microvolt = <900000>; >>> + }; >>> + }; >>> + >>> + vccio_acodec: LDO_REG4 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <3000000>; >>> + regulator-max-microvolt = <3000000>; >>> + regulator-name = "vccio_acodec"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vccio_sd: LDO_REG5 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <1800000>; >>> + regulator-max-microvolt = <3300000>; >>> + regulator-name = "vccio_sd"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vcc3v3_pmu: LDO_REG6 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <3300000>; >>> + regulator-max-microvolt = <3300000>; >>> + regulator-name = "vcc3v3_pmu"; >>> + regulator-state-mem { >>> + regulator-on-in-suspend; >>> + regulator-suspend-microvolt = <3300000>; >>> + }; >>> + }; >>> + >>> + vcca_1v8: LDO_REG7 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <1800000>; >>> + regulator-max-microvolt = <1800000>; >>> + regulator-name = "vcca_1v8"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vcca1v8_ddr: LDO_REG8 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <1800000>; >>> + regulator-max-microvolt = <1800000>; >>> + regulator-name = "vcca1v8_pmu"; >>> + regulator-state-mem { >>> + regulator-on-in-suspend; >>> + regulator-suspend-microvolt = <1800000>; >>> + }; >>> + }; >>> + >>> + vcca1v8_image: LDO_REG9 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <1800000>; >>> + regulator-max-microvolt = <1800000>; >>> + regulator-name = "vcca1v8_image"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vcc_1v8: DCDC_REG5 { >> Maybe its just me, but seems odd that DCDC_REG5 is out of order with the >> other DCDC regulators above. >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-min-microvolt = <1800000>; >>> + regulator-max-microvolt = <1800000>; >>> + regulator-name = "vcc_1v8"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vcc_3v3: SWITCH_REG1 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-name = "vcc_3v3"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + >>> + vcc3v3_sd: SWITCH_REG2 { >>> + regulator-always-on; >>> + regulator-boot-on; >>> + regulator-name = "vcc3v3_sd"; >>> + regulator-state-mem { >>> + regulator-off-in-suspend; >>> + }; >>> + }; >>> + }; >>> + }; >>> +}; >>> + >>> +&pinctrl { >>> + leds { >>> + led_power_pin: led-power-pin { >>> + rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; >>> + }; >>> + led_work_pin: led-work-pin { >>> + rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; >>> + }; >>> + }; >>> + >>> + pmic { >>> + pmic_int_l: pmic-int-l { >>> + rockchip,pins = >>> + <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; >>> + }; >>> + }; >>> +}; >>> + >>> +&pmu_io_domains { >>> + pmuio2-supply = <&vcc3v3_pmu>; >>> + vccio1-supply = <&vccio_acodec>; >>> + vccio3-supply = <&vccio_sd>; >>> + vccio4-supply = <&vcc_3v3>; >>> + vccio5-supply = <&vcc_3v3>; >>> + vccio6-supply = <&vcc_3v3>; >>> + vccio7-supply = <&vcc_3v3>; >>> + status = "okay"; >>> +}; >> Did you miss pmuio1 and vccio2 here? the latter of which is the eMMC domain. >> >> Are you planning to add additional patches for usb, gmac etc? I had been >> working through cleaning up these device tree files with a view to >> submitting them soon also. >> >> Regards >>    Tim > Hello Tim. Thank you for your reviewing. > > I'll check you said above. > > Yes, I am planning additional patches like usb, gmac as you said. > May I understand that you cleaned up my patch? No, I've been working from the Hardkernel  and Tobetters device trees. Regards    Tim > I look forward to your reply. > > Thank you, > KyuHyuk Lee. > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip