Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1027791pxk; Fri, 18 Sep 2020 01:41:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPf9KukEl3Pp4uAMvQAr2vxfO83Qy0VOl0QowRm5bw6qb0cN/B0WbHrjiXFbrjpr54HrcJ X-Received: by 2002:a17:906:6b0b:: with SMTP id q11mr36137740ejr.412.1600418518524; Fri, 18 Sep 2020 01:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600418518; cv=none; d=google.com; s=arc-20160816; b=uXljlNSPexWIGS1KeBA4lAqPzPS1nzP8+UiTeGnHdShern0Ab0WKKSsIqnWvBNC4z/ T1p3jyhn5T2A3TyDJYqJqYfuGQowWJym6CbdrDU7OVpybIFVS8KHvigutut1V9OqbiS7 IG0hFG6i+AhVboL0zFIcbBZEUMpVJ8PPEQEHxo9He+Hf+gJ9RXXoe3gSuX+xgw7SXP48 MILo1oBYH4P5/ruynceocnQw1MO84zScAb6igA0CFkM1IOxgXXbjuJTrJp6qNsl04Nkm ODT15fbQoIh1sSO0S/+z9dyOwapy9Y6Rdt7UPWnJGunMzu90oyqQvr1t4etcijRqFYvT uYAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0t56EaP80PzJeDFaOK+P0Ax7QIKwm/7eg9l9TlrAEB8=; b=xq0B8IxYcKWFWodNiztm5JW0F/52JKvONPdizyrmT83LQ2OtF7a7qOxXSBQExJG6lQ 1rq9YIkIKUqDPBKAsiqRKeFqDCO64Qv84Hd+AJA/Y2YCc6OhYjyQ6JaIwnZYFsUD6aVR oKIrvShzHWbLmRF42SXEoBh5YuEA4uiJKl75kqvFf30Qgtynej776VaiYM2f0EGz4lu+ +SpVGH4J+04Eo7ytffhGyymsSCCiMIAw0V4MpuR+gybQFtIORBWYx/0hJtdGDhTAxUMB A/DcFF9G9GqUc1veK6MkaH8wlWVLqUgaBHVbo/HvdGfrv4k9hNrMLaBqSi6tDFclHVi0 53Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XEGKCsQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si1800738ejq.224.2020.09.18.01.41.35; Fri, 18 Sep 2020 01:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XEGKCsQg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726556AbgIRIhw (ORCPT + 99 others); Fri, 18 Sep 2020 04:37:52 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:44282 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbgIRIhw (ORCPT ); Fri, 18 Sep 2020 04:37:52 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 08I8bmAn048562; Fri, 18 Sep 2020 03:37:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1600418268; bh=0t56EaP80PzJeDFaOK+P0Ax7QIKwm/7eg9l9TlrAEB8=; h=From:To:CC:Subject:Date; b=XEGKCsQgAwg7udabE7AuTyHfUj+M/e758rU7zCTtjtLX6jYCTDMm550o2Dm4oWLL0 ME5FwXu2ANixxdbOpQm0ZVtj4/DrHG5s19KFucPBvsHPd2vPY5jFeNXPIhgcQPiL7t 5oTfe+QJifCbr9dBfDLoJI2yQNWbFsUuHVrOejWc= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 08I8bmsj006233 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Sep 2020 03:37:48 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 18 Sep 2020 03:37:47 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 18 Sep 2020 03:37:47 -0500 Received: from deskari.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 08I8bjT0109595; Fri, 18 Sep 2020 03:37:45 -0500 From: Tomi Valkeinen To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Swapnil Jakhade , Yuti Amonkar CC: , , Sekhar Nori , Tomi Valkeinen Subject: [PATCH v2 1/2] dt-bindings: phy: cdns,torrent-phy: add reset-names Date: Fri, 18 Sep 2020 11:37:42 +0300 Message-ID: <20200918083743.213874-1-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add reset-names as a required property. There are no dts files using torrent phy yet, so it is safe to add a new required property. Signed-off-by: Tomi Valkeinen --- Changes in v2: * Base on phy-next * Update example * Add torrent_apb .../devicetree/bindings/phy/phy-cadence-torrent.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml index 26480f89627d..e266ade53d87 100644 --- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml @@ -57,6 +57,13 @@ properties: - description: Torrent PHY reset. - description: Torrent APB reset. This is optional. + reset-names: + minItems: 1 + maxItems: 2 + items: + - const: torrent_reset + - const: torrent_apb + patternProperties: '^phy@[0-3]$': type: object @@ -127,6 +134,7 @@ required: - reg - reg-names - resets + - reset-names additionalProperties: false @@ -144,6 +152,7 @@ examples: <0xf0 0xfb030a00 0x0 0x00000040>; reg-names = "torrent_phy", "dptx_phy"; resets = <&phyrst 0>; + reset-names = "torrent_reset"; clocks = <&ref_clk>; clock-names = "refclk"; #address-cells = <1>; @@ -172,6 +181,7 @@ examples: reg = <0xf0 0xfb500000 0x0 0x00100000>; reg-names = "torrent_phy"; resets = <&phyrst 0>, <&phyrst 1>; + reset-names = "torrent_reset", "torrent_apb"; clocks = <&ref_clk>; clock-names = "refclk"; #address-cells = <1>; -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki