Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2212265lqt; Mon, 22 Apr 2024 05:03:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSEILSgfBfg56/ARAvPJabvkJQMj5gOQ9BHcK1llg/Gs04JSOZKiSfXm/V1L+RY5pBLYGZtDsLASGqYg4eD+E5vXvejXXNzfuPDTyY4g== X-Google-Smtp-Source: AGHT+IFhH19r6ZtjQsnV5mwWEZoPzVGrtAT5k0gO58rWnYrrkcRBFuqfcd8lSKQgt8FtyED0x48r X-Received: by 2002:a05:6a00:92a7:b0:6ed:4a95:e3ce with SMTP id jw39-20020a056a0092a700b006ed4a95e3cemr12553998pfb.13.1713787428783; Mon, 22 Apr 2024 05:03:48 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ka39-20020a056a0093a700b006e6c4e74321si7948735pfb.29.2024.04.22.05.03.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 05:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153307-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@theobroma-systems.com header.s=selector1 header.b=KjhPrExH; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-153307-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=theobroma-systems.com 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 4F951B23D83 for ; Mon, 22 Apr 2024 11:49:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CFB0146A75; Mon, 22 Apr 2024 11:49:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=theobroma-systems.com header.i=@theobroma-systems.com header.b="KjhPrExH" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2116.outbound.protection.outlook.com [40.107.22.116]) (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 151AA14430B for ; Mon, 22 Apr 2024 11:49:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.116 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713786554; cv=fail; b=fAahfPHO+c4p90+L0DaE5jQplG8OGo4RNIyQM1IzLb7TNWcRyW0HoAUOZaXjDAZLgA3jPWRBYtCW/h+otNkT59Z5uRUtDjPW10U8JdWzXNwa7zBRyu3dox3umt4Ad/jn1Niie8VlAS1hZalrZuA99TznDyCVPzCdyHeipbzCUdg= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713786554; c=relaxed/simple; bh=yW26+wQTtzmM1/qdH+0VS6Y6DUq8L0L0dGDf5bZzWkw=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=pM4vqiHDqJaUZqFMl0Xp3p5ct1bMUMsRtEVs5iwPzI+eakSnW1I0QltojAXYTWp13aIu0GFeyitaZtGg/i2pTqrJobA7fSmk86iNuOQTtPfbdcXVenuTZcYNEQsclCBZPiokxzCE03bYnxhfBr70SBvNd8SHi9fxbPblMPSwihg= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=theobroma-systems.com; spf=pass smtp.mailfrom=theobroma-systems.com; dkim=pass (2048-bit key) header.d=theobroma-systems.com header.i=@theobroma-systems.com header.b=KjhPrExH; arc=fail smtp.client-ip=40.107.22.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=theobroma-systems.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=theobroma-systems.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MJJknflQAGQwIf/KvTQn1SzxV6tRI6AMQ0ISlz54eB1HfhFaDjr3tp1KMLCTUnAAqLNJ9sPTnOaQo/MmK2vj+6bLP9S+kxcp7SsJm2lEvuOJQHJTQGQPYjPKccJxZsgKqt5gnW8aL+s7fvP8jn9h2QR/pEDrTe/Qjl/Ivw9aKGG/Yd2aHJX1MSkgtBP6Uq9xgyCUzzHbFhvh/nUwRccXfAEGxopTkZ/WrEdigpcub1VKsV0TbXPWBWi7DWQ4hr7d/ffhxHQ6kuKinfKEm3EylZ9FTT8n4ggOpbimPypArTyH+KoZztCS5nkBehMrMwqzJNBriONVm9sa3DuRz6HYzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3xR//00Xkp2sNyzF2rNX9sjDtH2SAKefj7vumaoWd9I=; b=kjQdiWbO/hyIrXPThXY6ubdEDC0s+ppfURla84DAybgZBQJQ8qo5wPR8e0YJfh2VTbhX+SvZqEUx6gdO+qTiBMKrnLNrxPtBiXGWooeKH8U7J1+//OHu2t4Le9Sg1sqZeEI+mlfyCt9jGvL/eIFHiGDEnuy0MOi5nfcaSf3u+ZpeUIS7UhXMoeV9ZxlpYqjSVMQzWmf0ag0Gn6DHhElJIq77llz5bSww7j9ruPcXH2tXRLs7VfASHmKl6eIeLFJVTW5TS4V/XZ8XrDudVf77o8L67XPU9s+1c1B2L5dTXg5UvVNjTrWx+IxM54MuskCihR5qrepCJnMeq78w3/iXHw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=theobroma-systems.com; dmarc=pass action=none header.from=theobroma-systems.com; dkim=pass header.d=theobroma-systems.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=theobroma-systems.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3xR//00Xkp2sNyzF2rNX9sjDtH2SAKefj7vumaoWd9I=; b=KjhPrExH8stKT/moLXnxkYaahn6y/Uc2wQYWdL//jKCIx0lV0WnVEXJdOLIzClMURpCYSvq4h85tuYncP8D4WU9vVv29uUbtPkHcxsO266HHSJHVmhtsbx7riyqHmHIp4tljM0+qdBz0pDmx2UeUQXb+T4RWcG5kNERpnV6snmVZKu6wpVqy01sZA6TahgcVRGHBzfpv3Ab+ftG9Yvv+ofaakTh42596ZA+iD7q4i8m7K6zLVQDFegkXUksZuq+Yqx+TgisR3VGjC2sJxbZr+Jg1Yi6Y33KDzJCEFU8hplp/l8ZNgAcFxKsIi/o/2azulSsRCe6W4dCfUV39uiClzg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=theobroma-systems.com; Received: from DB7PR04MB4842.eurprd04.prod.outlook.com (2603:10a6:10:1b::13) by PA2PR04MB10123.eurprd04.prod.outlook.com (2603:10a6:102:403::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Mon, 22 Apr 2024 11:49:08 +0000 Received: from DB7PR04MB4842.eurprd04.prod.outlook.com ([fe80::bdc7:4b2c:e74e:1504]) by DB7PR04MB4842.eurprd04.prod.outlook.com ([fe80::bdc7:4b2c:e74e:1504%7]) with mapi id 15.20.7472.044; Mon, 22 Apr 2024 11:49:08 +0000 Message-ID: <4619b7ec-3d04-47c9-bc43-75eac26b3f14@theobroma-systems.com> Date: Mon, 22 Apr 2024 13:49:06 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] arm64: dts: rockchip: add PCIe3 support on rk3588-jaguar To: Heiko Stuebner Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, dsimic@manjaro.org, Heiko Stuebner References: <20240418124445.2360491-1-heiko@sntech.de> Content-Language: en-US From: Quentin Schulz In-Reply-To: <20240418124445.2360491-1-heiko@sntech.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VI1P191CA0015.EURP191.PROD.OUTLOOK.COM (2603:10a6:800:1ba::8) To DB7PR04MB4842.eurprd04.prod.outlook.com (2603:10a6:10:1b::13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR04MB4842:EE_|PA2PR04MB10123:EE_ X-MS-Office365-Filtering-Correlation-Id: b24660a8-c806-4cc3-de51-08dc62c237f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Nis3RVRGbncrdE5ET1dtZVgwakFtN1FnQmhFZk9qTzdrcjhabnYzSnNGa3hE?= =?utf-8?B?ZzFBUTB1VjhLODhHblNoVys1YjNqdU4xSEQ3eHJXWXFCUVJ2RU5YU0VHWENC?= =?utf-8?B?dTZaMFRHK2pJZnJ0ZjBrZzRwZlhLc25WaE1HU204MEFsSDg5ajQwWktaSnl0?= =?utf-8?B?QUlXazhJRUJvMUpXSUp5Uk44dEtXQ1Q2S09ZdVMvSFVZMU1QYXVtV3JaK2tz?= =?utf-8?B?ci9nWmZtZGFxdit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TBZUFZsRkdCRXpEeFErZGp3ZTlaVDVYNDFCQ1dpdUpn?= =?utf-8?B?eGhCWkMrNFR3WHdLUjlSWU1UWGNtK3FUd2U3eUFkS291RTd4b3BLK3RpQUhl?= =?utf-8?B?azRXYjR4bmpYeWFybzBmK3ByMDQyeUtKRExWZFAvU2Z4TENGKytUTFdETXA5?= =?utf-8?B?UnV4eTQ2a0VWbWNBMEU1cGdoTjlDUFhHMElPeWNESGNtSVd4U1RXeVh1M3Zm?= =?utf-8?B?QXZ3YjBqY1A5T3VSS1kzMS9HWlZXRHZTRzVRa05odmZtNjUzMXVia2NEVDQx?= =?utf-8?B?bFJBM0MvT3pUMnE5ZGtZOVNWVUdFdG03aU1sVkF1SXNJSXA1bGlQL1lYNnhU?= =?utf-8?B?RVVKYTdZemJ3Q2tCN0FSYnRWMzRXcVIvQ0xFNTVoK3Irdlp0enJZbDRNaVdn?= =?utf-8?B?cGJ1dUU5bGowN3l1SEhaZ1RDK2hkVjBXSDFJcjBPY3UvRVpNZEJyNGVLTlpn?= =?utf-8?B?cjVzRTBqT1BMUnBNT2duWHR5OXBlbi81Sm5MNUVaNmNwVk1qRDlqMDVTZFBE?= =?utf-8?B?UmkxMFh1cFpkOHJWdENVWVozWlYrd1NYcW9jZXJjejRubFY3VGk0SVR3PT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR04MB4842.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?STM1QUg2TVN6eUdXRUtmMVNMbnRSTmllenRmd3N0YlZPT2kvbGNqM1E2cHAy?= =?utf-8?B?ZVE2OUVjYmt0UGY3RDV0Tit1b3MzR251a0RBZzkyQnpMNVRuazdrUVVCTWI4?= =?utf-8?B?UnB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EVzBKaGpPK2JJK3h0?= =?utf-8?B?RU1yVG1STDF2RzBITjhRV1BRRkllbURDaG9LT3lBYStHTnZpOXlhWVRvcW9i?= =?utf-8?B?MXAvdUxKdWRvS0dhNzJUeHh3ajNXWmUxTU4zWlZLd1Y0N0VYQWliV0tDaTlO?= =?utf-8?B?RkU4QkpQMkJBeUVjTGhVT05DbEcxN3M4Tyt2b255TUhkTEtCakh0d05naFJX?= =?utf-8?B?VWtPUVpVaXVMd0xkZ0NndVdRN0JlZHpDZHV0QkM2MjBHM2dZaXcwS0hnR0o1?= =?utf-8?Q?kSAKEe8EP6eTu6iec2dq1xg=3D?= X-OriginatorOrg: theobroma-systems.com X-MS-Exchange-CrossTenant-Network-Message-Id: b24660a8-c806-4cc3-de51-08dc62c237f5 X-MS-Exchange-CrossTenant-AuthSource: DB7PR04MB4842.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2024 11:49:08.3448 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5e0e1b52-21b5-4e7b-83bb-514ec460677e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OcwhjewwLNZXLoaLkKnt7KETC9PPklvYDJASk00UO/8ovZlFRJ7+zHnZxanxyrDD35fbO/cezWysNfeUoHDQqOBPuWBvbXXooPt0gwN/fba3ZqZLG5hyp3nXQ5YAs/Rf X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10123 Hi Heiko, On 4/18/24 14:44, Heiko Stuebner wrote: > From: Heiko Stuebner > > The Jaguar SBC provides an M.2 slot connected to the pcie3 controller. > In contrast to a number of other boards the pcie-refclk is gpio-controlled, > so the necessary clock and is added to the list of pcie3 clocks. > > Signed-off-by: Heiko Stuebner > --- > changes in v2: > - "an" M.2 slot (Dragan) > - pinctrl for refclk-en and reset pin (Quentin) > - don't repurpose the pcie30x4_pins pinctrl entry for only wake (Quentin) > > .../arm64/boot/dts/rockchip/rk3588-jaguar.dts | 64 +++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts > index 4076c92668ba..3407e777e97b 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3588-jaguar.dts > @@ -72,6 +72,27 @@ led-1 { > }; > }; > > + /* > + * 100MHz reference clock for PCIe peripherals from PI6C557-05BLE > + * clock generator. > + * The clock output is gated via the OE pin on the clock generator. > + * This is modeled as a fixed-clock plus a gpio-gate-clock. > + */ > + pcie_refclk_gen: pcie-refclk-gen-clock { > + compatible = "fixed-clock"; > + #clock-cells = <0>; > + clock-frequency = <1000000000>; > + }; > + > + pcie_refclk: pcie-refclk-clock { > + compatible = "gpio-gate-clock"; > + clocks = <&pcie_refclk_gen>; > + #clock-cells = <0>; > + enable-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_LOW>; /* PCIE30X4_CLKREQN_M0 */ > + pinctrl-names = "default"; > + pinctrl-0 = <&pcie30x4_clkreqn_m0>; > + }; > + > pps { > compatible = "pps-gpio"; > gpios = <&gpio0 RK_PD5 GPIO_ACTIVE_HIGH>; > @@ -358,6 +379,30 @@ &pcie2x1l0 { > status = "okay"; > }; > > +&pcie30phy { > + status = "okay"; > +}; > + > +&pcie3x4 { > + /* > + * The board has a gpio-controlled "pcie_refclk" generator, > + * so add it to the list of clocks. > + */ > + clocks = <&cru ACLK_PCIE_4L_MSTR>, <&cru ACLK_PCIE_4L_SLV>, > + <&cru ACLK_PCIE_4L_DBI>, <&cru PCLK_PCIE_4L>, > + <&cru CLK_PCIE_AUX0>, <&cru CLK_PCIE4L_PIPE>, > + <&pcie_refclk>; > + clock-names = "aclk_mst", "aclk_slv", > + "aclk_dbi", "pclk", > + "aux", "pipe", > + "ref"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pcie30x4_waken_m0 &pcie30x4_perstn_m0>; > + reset-gpios = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>; /* PCIE30X4_PERSTN_M0 */ > + vpcie3v3-supply = <&vcc3v3_mdot2>; > + status = "okay"; > +}; > + > &pinctrl { > emmc { > emmc_reset: emmc-reset { > @@ -376,6 +421,25 @@ led1_pin: led1-pin { > rockchip,pins = <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; > }; > }; > + > + pcie30x4 { > + pcie30x4_clkreqn_m0: pcie30x4-clkreqn-m0 { > + rockchip,pins = <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + > + pcie30x4_perstn_m0: pcie30x4-perstn-m0 { > + rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; > + }; > + > + pcie30x4_waken_m0: pcie30x4-waken-m0 { > + /* > + * pcie30x4_clkreqn_m0 is used by the refclk generator > + * pcie30x4_perstn_m0 is used as via the reset-gpio s/used as/used as GPIO/ ? But also, I think we don't need these comments anymore as we are not reusing an existing node so there's no real reason to give for only having pcie30x4_waken_m0 muxed in a node called pcie30x4_waken_m0 :) Reviewed-by: Quentin Schulz Thanks, Quentin