Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp751775imm; Wed, 13 Jun 2018 07:46:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKMznA/2LKx6FZ2CYcTU7CZGfEM/YdId/qomCKvDb2Al0M9S8bMfTkCoWB0MPF5IO3FM1Af X-Received: by 2002:a62:d0c5:: with SMTP id p188-v6mr5299474pfg.101.1528901189274; Wed, 13 Jun 2018 07:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528901189; cv=none; d=google.com; s=arc-20160816; b=WPR9yk6M5+y5Eqr7JJ/XDIA+MiLlqrcsW1At3xDhYZXLcZu7VJ7Zy0v7n4z5iOWX0l sxoQooVbwz40nnMpqPnTzWe4rmyPRpTiCM3A7mXnG4AazppLmQN2DJbrcFiktDrEH33T 8evJuAgFDYCXOHHhs4vbQupOyEP+jhoIWfpYV6mpLITPzcV9b/a6VskRe5k3sJOQu76X sQWu5TyTSJC9QjoUTVPyZND9xUM1JWQUFjkIGG1R68n2Ka/dNpw0INsnrHpkoqOfiIiP GVLEqRILtIiUlcfqr28LxEy7CHqUBFD2/8wUCoE3M0Xs4avG5knzFSFSuuWu9uZRsV0c /EwA== 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:in-reply-to :mime-version:user-agent:date:message-id:from:references:to:subject :cc:arc-authentication-results; bh=iikZuSdKkTskzYyko3Q/cBU56xaxjTb3ilTxoC+u9FI=; b=K+rJuEIDB/X92s0xvJnXb7x2Li+nMQff/7zlPmrzDZh5//wcDHTLWVfAjWDK97BMzV ieltKN0hpBpCli4uUHjG1/DNcv0pn0sHjwlV4zhER6hBvPfcbpHA2dJjrrV8IN9vpm5Z lHNkSa+rrl8oU3RHbQZbftKpH1WzjE84ZCPzgte1LfrAnThmX2aFZJZWgnt4/z4kHZp4 27ADaJhu4me/Or+2jDhiZ4CKik/yn2TopFLEYROW+F1HP23z8zkfl70L5gYyzHkKrpvZ IJcfqZemzE183jtNpnqItcfaFcfe1PPhQEBDnIssp/mAoCdYDeHbI2cTTuHsyV4TqMR+ UuuQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w25-v6si2495054pgc.628.2018.06.13.07.46.15; Wed, 13 Jun 2018 07:46:29 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935866AbeFMOpf (ORCPT + 99 others); Wed, 13 Jun 2018 10:45:35 -0400 Received: from lucky1.263xmail.com ([211.157.147.131]:36282 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935345AbeFMOpd (ORCPT ); Wed, 13 Jun 2018 10:45:33 -0400 Received: from shawn.lin?rock-chips.com (unknown [192.168.167.232]) by lucky1.263xmail.com (Postfix) with ESMTP id 814FB96584; Wed, 13 Jun 2018 22:45:10 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from [192.168.10.112] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id A2119308; Wed, 13 Jun 2018 22:45:11 +0800 (CST) X-RL-SENDER: shawn.lin@rock-chips.com X-FST-TO: linux-arm-kernel@lists.infradead.org X-SENDER-IP: 220.200.58.208 X-LOGIN-NAME: shawn.lin@rock-chips.com X-UNIQUE-TAG: <98bba4af37268b80eda2a189c1ba4b46> X-ATTACHMENT-NUM: 0 X-SENDER: lintao@rock-chips.com X-DNS-TYPE: 0 Received: from [192.168.10.112] (unknown [220.200.58.208]) by smtp.263.net (Postfix) whith ESMTP id 2743535R9W0; Wed, 13 Jun 2018 22:45:12 +0800 (CST) Cc: shawn.lin@rock-chips.com, linux-rockchip@lists.infradead.org, Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Heiko Stuebner , Catalin Marinas , Will Deacon , LKML , Rob Herring , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Subject: Re: [PATCH] ARM64: dts: rockchip: add some pins to rk3399 To: klaus.goger@theobroma-systems.com, Randy Li References: <20180612152544.3812-1-ayaka@soulik.info> From: Shawn Lin Message-ID: Date: Wed, 13 Jun 2018 22:44:08 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/6/13 2:21, klaus.goger@theobroma-systems.com wrote: > Hi Randy, -----8<------------- >> pcie { >> + pcie_clkreqn: pci-clkreqn { >> + rockchip,pins = >> + <2 26 RK_FUNC_2 &pcfg_pull_none>; >> + }; >> + >> + pcie_clkreqnb: pci-clkreqnb { >> + rockchip,pins = >> + <4 24 RK_FUNC_1 &pcfg_pull_none>; >> + }; >> + > > I’m not sure if pci-clkreqn is functional at all. If not I’m not sure if we should add it to the dtsi. > Shawn may know more about it. Please refer to commit 461a00bb9d539e ("arm64: dts: rockchip: kill pcie_clkreqn and pcie_clkreqnb for rk3399") CLKREQ# is used for PCI-PM L1.x, but it's not functional for rk3399, so we have to support CPM(clock power management), thus I kill them last year. > >> pcie_clkreqn_cpm: pci-clkreqn-cpm { >> rockchip,pins = >> - <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; >> + <2 26 RK_FUNC_GPIO &pcfg_pull_none>; >> }; >> >> pcie_clkreqnb_cpm: pci-clkreqnb-cpm { >> rockchip,pins = >> - <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; >> + <4 24 RK_FUNC_GPIO &pcfg_pull_none>; >> }; >> }; >> >> -- >> 2.14.4 > > > Could we actually use RK_Pxx for all new pin definitions? Would increase readability a lot. > > Thanks, > Klaus > > -- Best Regards Shawn Lin