From patchwork Wed Oct 13 07:38:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12555137 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD215C433EF for ; Wed, 13 Oct 2021 08:59:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A8AB6610CE for ; Wed, 13 Oct 2021 08:59:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A8AB6610CE Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=MzsMj8ABQNClx2MtxTNy9btkL07h/Zf8ViLjN7vbve4=; b=dk9Yfgh+dh1C+5 ocHWBKe6wCpDpphsu7YDM8yJhI6jbuNVOoH9GHO8zIRKhUW/3BUOTy0m02tnj8LTYZHWQ/KFRep5R vEAPRneVf3UXrwjijI+tmfUYnwYNCmSpXiSZA/Tv8lPHqSf/V+bpWTjhAgCyhsUZKTUwPBh4n18N6 fgUSGX2u2ugPocdPg1rvIEWfSp4gZ99zS8/W/B2XUFwaE4jAnJoE1p7mkw3ElpSteKzPGMViT1CS1 PWl/tmKYmVKNQGvLtayVy+nS05kYNfyyl21/7mZxTc8pVMccnTZs+H94/WTRfXobbaaUmYmTpTw/Q VMc9j7J6kO0DwU6jDhRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1maa3i-00Ffm2-PK; Wed, 13 Oct 2021 08:56:24 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1maYod-00FOo2-Tb for linux-arm-kernel@lists.infradead.org; Wed, 13 Oct 2021 07:36:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1634110603; x=1665646603; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=r/j05pZT6RVtypcAy9TGjXr8UI+4Pvzm+ooFWOQ52Ng=; b=JZc3znmbNjUo91qD1+3F/GrpHeZLCOjyda0mHtsYXVDpB8H76bSdycuv kUoKkR+sis9mmPUFxlM7yv6cSo4gU/vLZ58ClRA4vShKZg+c2f4g8BhWc zv6Ih1+RTipSorcYLmgk0EHKP6fNbt9TroidYEaFhT7RMT8Answ1J/p3s Vehcme3ORvkmLJiiW1WU0gxii8bOpsDtt0HcDiZEfZcyMbeG0BO67RohJ T6esVrIZrOZus2xo1yeAQQyK28RsJt/Qt9kgBQDdXVC8a3MW6tQb8sFXO 3gTyKxdyHXjcgms8PcmH1UCpuDI7pLY6tOL1PZul9XWloY2pSM12PGt2j Q==; IronPort-SDR: qd0kPh4MO17ds07qa7Ex8ovF4mNtR686zy4ZsRPkpQBP3eqQqHvBXuEtV3rxASCx853sz4lrgk uRKG+2/9Kto/O6FYIAPIQdZ4t2XTNaB4mpev9KPE85PG3rogSD++OAUl2ZZiXGn6vp3J4QbLRG DQ2R+mFMu+WiQiPvpzWRrvLjO3IMeYcs/XqNZmep24FMPvuSCMMVbTs4mr1JH4W7JBwu/sGeTV /TSOYd+TD4hL5vLYxGAUyoBkPFnC/RTVCdWYd1w1H67zXSk77Gy1+hYk83ytaLee0UikspwvGU iznDUzQ/oa9bC5R5+BLnLTzH X-IronPort-AV: E=Sophos;i="5.85,369,1624345200"; d="scan'208";a="147898400" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Oct 2021 00:36:42 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 13 Oct 2021 00:36:42 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 13 Oct 2021 00:36:40 -0700 From: Horatiu Vultur To: , , , , , , , , CC: Horatiu Vultur Subject: [PATCH v3 1/2] dt-bindings: reset: Add lan966x support Date: Wed, 13 Oct 2021 09:38:06 +0200 Message-ID: <20211013073807.2282230-2-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211013073807.2282230-1-horatiu.vultur@microchip.com> References: <20211013073807.2282230-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211013_003644_011235_F6B2F7E3 X-CRM114-Status: GOOD ( 10.15 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds support for lan966x. Signed-off-by: Horatiu Vultur --- .../devicetree/bindings/reset/microchip,rst.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/reset/microchip,rst.yaml b/Documentation/devicetree/bindings/reset/microchip,rst.yaml index 370579aeeca1..fb170ed2c57a 100644 --- a/Documentation/devicetree/bindings/reset/microchip,rst.yaml +++ b/Documentation/devicetree/bindings/reset/microchip,rst.yaml @@ -20,7 +20,11 @@ properties: pattern: "^reset-controller@[0-9a-f]+$" compatible: - const: microchip,sparx5-switch-reset + oneOf: + - items: + - const: microchip,sparx5-switch-reset + - items: + - const: microchip,lan966x-switch-reset reg: items: @@ -37,6 +41,14 @@ properties: $ref: "/schemas/types.yaml#/definitions/phandle" description: syscon used to access CPU reset + cuphy-syscon: + $ref: "/schemas/types.yaml#/definitions/phandle" + description: syscon used to access CuPHY + + phy-reset-gpios: + description: used for release of reset of the external PHY + maxItems: 1 + required: - compatible - reg