Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp63462ybh; Tue, 21 Jul 2020 16:29:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8R4/pqb+DZth0IB5rgdo2Posi/HTrpY7yBBRdB3ARGNB7H0TC8iI9Ei5vuYv2KLv4ogUs X-Received: by 2002:a17:906:f752:: with SMTP id jp18mr26910472ejb.538.1595374189970; Tue, 21 Jul 2020 16:29:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595374189; cv=none; d=google.com; s=arc-20160816; b=KVgT88VXbN0ZCXqILkUkzeTXQCVBpKtQlS7xhYq6YZlyDUi/WaWSVCMpfO5ZLidLt/ y+uN2SQLJjd+NbXaEoSQx4Ekvh/7fkSz5mpkKb5D/1381seVlNYdCh5DAh7BUtlLppvE e8OPkp8DbRNe+F06OrE6JHHFFvS+iOb+R/sHcknLzZrfo7pzWWGqip64BinX6LDANRWT An7roncagbXo++b775wyuvewMUWQhlnusnvkNMDj6+slZ6U0Ow2kmFas+1vzsIugeg/y OfT8PEh0E+X3kX8OT4hj5sX/vr5DdkjmmSYM4zd8dYhViaRN31PActXUd8EWqgVj5zqo Nw6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=XTgVhSn9cvqVM8cziFcXaCIXMVCkPt/CZLpLP6PMMGY=; b=Ic3ngkvWF2rx7j4c4FbZtjuQSv6CjQ/JEjrMaHD1lOTzA9AIY1QnaVwvXJnOCTEvcB eawrc1Jybq+vU9utNB2lHbUGBWYBzuNUX/S7kE1O/ZryK5I845mYQcNc3z4wfEHteflN 2lquq0jP3X66bHPQrwUy0hPgatQ0sKgqOfOeY2yUD4FX3KQ+FrQCn8aSwIVJzFUXGFg/ HGCxWtB76JfQWkKLMQUuLgeKRu2Hr4HgfJwOqJgcUGX/QXNUnhgpmLKd9VkpNXLaTnoX jaNw4ALsFin3DS4z1mJ9Q7qIwRV9zlyzc5BtQpd/mkVzzQ+tLLWSUQcSkB/UuUNngAbb o7eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=atTdsPIX; 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 s14si12703439ejq.387.2020.07.21.16.29.26; Tue, 21 Jul 2020 16:29:49 -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=atTdsPIX; 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 S1728456AbgGUX3Q (ORCPT + 99 others); Tue, 21 Jul 2020 19:29:16 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:45044 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgGUX3Q (ORCPT ); Tue, 21 Jul 2020 19:29:16 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06LNTFU2113697 for ; Tue, 21 Jul 2020 18:29:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1595374155; bh=XTgVhSn9cvqVM8cziFcXaCIXMVCkPt/CZLpLP6PMMGY=; h=From:To:CC:Subject:Date; b=atTdsPIXkfmA1YxUSq63gTdVlgOYfkOhFL5mxjkVzU2ZG5htpvs5qt++UYyurx/ro KxsexYJXUyTPPsintL1oSPz7azBM/C+I0DgRaN/TjLiTrjinqOfwgPOU8A7EJk7iX5 OqG+RWEMmiZlvOl/pWTQ7N10pAS4KbrxEBnb/Y6Q= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06LNTFVC096878 for ; Tue, 21 Jul 2020 18:29:15 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 21 Jul 2020 18:29:14 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) 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; Tue, 21 Jul 2020 18:29:15 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06LNTDJa007619; Tue, 21 Jul 2020 18:29:14 -0500 From: Grygorii Strashko To: Kishon Vijay Abraham I CC: Sekhar Nori , , Grygorii Strashko Subject: [PATCH 0/3] phy: ti: gmii-sel: update to support multiport k3 devices Date: Wed, 22 Jul 2020 02:29:10 +0300 Message-ID: <20200721232913.4979-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kishon, This series introduces support for multiport K3 CPSW devices like one, which can be found on J721E SoC (MAIN CPSW). The first two patches are preparation changes. The Patch 3 add support for retrieving number of ports and base registers offset from DT. Grygorii Strashko (3): phy: ti: gmii-sel: move phy init in separate function phy: ti: gmii-sel: use features mask during init phy: ti: gmii-sel: retrieve ports number and base offset from dt drivers/phy/ti/phy-gmii-sel.c | 159 ++++++++++++++++++++-------------- 1 file changed, 96 insertions(+), 63 deletions(-) -- 2.17.1