From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 904A6C678D4 for ; Mon, 6 Mar 2023 06:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Spyaa8M/Z1ToxANJU/RmmQBZihYa+i6zixnOJIJkGbU=; b=nZO+8/0uUgHYeB/7iVu4XKjJ78 A2mLONnL7GglLv0DZJUvyXCkujBpXQkyGzBA5ec4LWGW1jGm2JCMnuIcW4WlIanWX+4bBX8UCKhYn qfGoQEchMJOy3vZHu6UY6g1CxTlvt+CmbZ114aEpAnaJzQ2QJmVacrXPHxlNnB7BkvAEHuz/c+56Y hqNGUIxklbw3sEJNnRSaRABqA2qPFeJcMf/eVVh7jZ+9Dzfde0yR3QRQ6ga+oD5j8B2BoDrLP394d /Qj44NuQ1eTkGRPB7odMEiuwpF74euatNWRudSvy3Xu8W2t2WTmsD6Vd4cmg7ozs6+MxulyuY/c1+ iIxQlWAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ4Y3-00BYgH-2h; Mon, 06 Mar 2023 06:42:15 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ4Xe-00BYYf-Eg; Mon, 06 Mar 2023 06:41:51 +0000 X-UUID: f56e4b8ebbe911eda08d4d6090ec5a5c-20230305 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Spyaa8M/Z1ToxANJU/RmmQBZihYa+i6zixnOJIJkGbU=; b=UzaC8OurkVjTBpJMpv1ru7XKPnv1wT0rVIn3Au0J2XfSfrTpzlH3Ttb4SdV5onriyHB3tGLTkK3Ld3ONjW7gWkY+5nIuunESmo1R0kbYtVj1+i+oaM6s5P9TlJfuH8bZS0hgyriyWqRJUzSX6acQtTMvM6PrkifEOnr+UY0lQ3c=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:107195f0-8f4a-47dc-be92-d1fb9d19a099,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:25b5999,CLOUDID:18a5def4-ddba-41c3-91d9-10eeade8eac7,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-UUID: f56e4b8ebbe911eda08d4d6090ec5a5c-20230305 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1044352059; Sun, 05 Mar 2023 23:41:43 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Mon, 6 Mar 2023 14:41:09 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Mon, 6 Mar 2023 14:41:09 +0800 From: Jian Yang To: Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof Kozlowski , Matthias Brugger , Jianjun Wang , Rob Herring CC: , , , , , , , , , Subject: [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: Add support for controlling power and reset Date: Mon, 6 Mar 2023 14:40:58 +0800 Message-ID: <20230306064059.7239-2-jian.yang@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230306064059.7239-1-jian.yang@mediatek.com> References: <20230306064059.7239-1-jian.yang@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230305_224150_606503_933C476A X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: "jian.yang" Add new properties to support control power supplies and reset pin of a downstream component. Signed-off-by: jian.yang --- .../bindings/pci/mediatek-pcie-gen3.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml index 7e8c7a2a5f9b..a59f9d0a782e 100644 --- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml @@ -84,6 +84,23 @@ properties: items: enum: [ phy, mac ] + pcie1v8-supply: + description: + The regulator phandle that provides 1.8V power to a downstream component. + + pcie3v3-supply: + description: + The regulator phandle that provides 3.3V power to a downstream component. + + pcie12v-supply: + description: + The regulator phandle that provides 12V power to a downstream component. + + dsc-reset-gpios: + description: + The extra reset pin other than PERST# required by a downstream component. + maxItems: 1 + clocks: minItems: 4 maxItems: 6 -- 2.18.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2ED97C61DA4 for ; Mon, 6 Mar 2023 06:43:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oY1unAOsAIIOlloZ0t+ykboH0if3D0RdZ/yBuTr/rfA=; b=hDsX1e1QikP+Nx WleO6UKN4HALV0uuhjU/QoqhoWsvI6mMPBeBsJiyZeYP2/ahJ6j35ul9J2pArI3AibQREOLBNiAkz Dvzqh9whKlRFXuzJDIspldoKvHxKTB16RWgsEZg/PjnYoJ1pQ/v4QEIlSEMddMKkInJ1B17XZ3Y+F gCiZr0/FNzkfPWNeXjtd3N2jRhZzoX3F+na3GVJllltxUDA8dAMMYEzM9dgIzTIu5wKqiR2wlMdYN Dj3/sw8v0MZPo6iP8suTrlPr6tzV96EipgjxON7nRM11F6yEgFkNvO7AoO+W/68mv/WN0jAqkXe6+ n1kn3eiOOKLNb91IewLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ4Xs-00BYcV-OJ; Mon, 06 Mar 2023 06:42:04 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZ4Xe-00BYYf-Eg; Mon, 06 Mar 2023 06:41:51 +0000 X-UUID: f56e4b8ebbe911eda08d4d6090ec5a5c-20230305 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Spyaa8M/Z1ToxANJU/RmmQBZihYa+i6zixnOJIJkGbU=; b=UzaC8OurkVjTBpJMpv1ru7XKPnv1wT0rVIn3Au0J2XfSfrTpzlH3Ttb4SdV5onriyHB3tGLTkK3Ld3ONjW7gWkY+5nIuunESmo1R0kbYtVj1+i+oaM6s5P9TlJfuH8bZS0hgyriyWqRJUzSX6acQtTMvM6PrkifEOnr+UY0lQ3c=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:107195f0-8f4a-47dc-be92-d1fb9d19a099,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:25b5999,CLOUDID:18a5def4-ddba-41c3-91d9-10eeade8eac7,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0,NGT X-UUID: f56e4b8ebbe911eda08d4d6090ec5a5c-20230305 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1044352059; Sun, 05 Mar 2023 23:41:43 -0700 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Mon, 6 Mar 2023 14:41:09 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Mon, 6 Mar 2023 14:41:09 +0800 From: Jian Yang To: Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof Kozlowski , Matthias Brugger , Jianjun Wang , Rob Herring CC: , , , , , , , , , Subject: [PATCH v2 1/2] dt-bindings: PCI: mediatek-gen3: Add support for controlling power and reset Date: Mon, 6 Mar 2023 14:40:58 +0800 Message-ID: <20230306064059.7239-2-jian.yang@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230306064059.7239-1-jian.yang@mediatek.com> References: <20230306064059.7239-1-jian.yang@mediatek.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230305_224150_606503_933C476A X-CRM114-Status: UNSURE ( 7.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: "jian.yang" Add new properties to support control power supplies and reset pin of a downstream component. Signed-off-by: jian.yang --- .../bindings/pci/mediatek-pcie-gen3.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml index 7e8c7a2a5f9b..a59f9d0a782e 100644 --- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml @@ -84,6 +84,23 @@ properties: items: enum: [ phy, mac ] + pcie1v8-supply: + description: + The regulator phandle that provides 1.8V power to a downstream component. + + pcie3v3-supply: + description: + The regulator phandle that provides 3.3V power to a downstream component. + + pcie12v-supply: + description: + The regulator phandle that provides 12V power to a downstream component. + + dsc-reset-gpios: + description: + The extra reset pin other than PERST# required by a downstream component. + maxItems: 1 + clocks: minItems: 4 maxItems: 6 -- 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel