Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1464621pxa; Fri, 28 Aug 2020 13:20:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcwrETUCKYHJ7Pn/wDdtln9od9iHPXdYuq+IlLdSdW0G/Z6RCbaofF7fAhw0gvtq5aUJf7 X-Received: by 2002:a17:906:6415:: with SMTP id d21mr454150ejm.550.1598646054462; Fri, 28 Aug 2020 13:20:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598646054; cv=none; d=google.com; s=arc-20160816; b=RfH7vTt68FIEZwVp5Avtfd5tDaHVTrcZLkddlxVjwB5Ml3MYdZ42NkAT/qGUeIyho5 oe3UiU6cRV/G5mSVqSm+46SZ0w578vBXOuVBwZTEpsPZyh1JH5NQXAiZ5ljYHM3cc68N 6EscaNGkRXjC2813lPjD3wgl/TuUjlEED2mzbqhuBPmw3/0MTsyrPgQHnaqSN0F2si3w a3mJDYShE5JsfdWmcHN8m1dzkm3mbSoKPA5ha0EP7zshrSb/KmL4nTq3/0ion/pvJ83p alS78zDPaEhdxxqmF8hzLGcxbNPFtOAA4ueuz+gVZWl8QMLTdxLetV4BEprd16aCLGQI b9ZQ== 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=UIWe/OA6iFzDg7p2Ur+Y3O8SqDA7emDZHCIVolSTbg2XyacBPmQjV/gshBFjTlxIk7 WnwtHtq/aLAgm9Lj3QpTs4n3uurPZTwLjroUojw/P21zaZ1OiemveBsEOQdj9xfOcPqC y56HklCFT/Y3621wRjkC5GRNs9kloYEpKw8V+/gTGMdsLn7Hmr/0/OB5SHbt/RLwjYY9 OJ4YPcdVmHto/S1ldx4VfdT+xE+hK44UahV2q01F8/l0dLVpuabDoCn+qJ77OriOXZyv BRilQqC+uCD6hyxQa7D6jrysEd1gvyYm34RnbeRXrIhH5a8BSD+wa8wFPNra+IaKaYRD goag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wdzgkhjN; 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 e21si432652eje.2.2020.08.28.13.20.31; Fri, 28 Aug 2020 13:20:54 -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=wdzgkhjN; 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 S1726649AbgH1UTz (ORCPT + 99 others); Fri, 28 Aug 2020 16:19:55 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:37360 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbgH1UTz (ORCPT ); Fri, 28 Aug 2020 16:19:55 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 07SKJrSL026540; Fri, 28 Aug 2020 15:19:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1598645993; bh=XTgVhSn9cvqVM8cziFcXaCIXMVCkPt/CZLpLP6PMMGY=; h=From:To:CC:Subject:Date; b=wdzgkhjNcLmy8owkWsGoBdsChiujWMh7pWnMAX2Dqe2zs+XWfs5nBekaSqGGvkSTl gysdBR9MmCDP6ryOLWYBFHLTPjRkcoASpBTbj6aHuN7IykitwN9RpQAA130yoxvt3I LTm5UPSnWoH12Zer+7S5GSIfLZoK+Og2lTIBy+CQ= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 07SKJrYI125552 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Aug 2020 15:19:53 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 28 Aug 2020 15:19:52 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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, 28 Aug 2020 15:19:52 -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 07SKJpsS052244; Fri, 28 Aug 2020 15:19:51 -0500 From: Grygorii Strashko To: Kishon Vijay Abraham I , Vinod Koul CC: Vignesh Raghavendra , , Grygorii Strashko Subject: [PATCH 0/3] phy: ti: gmii-sel: update to support multiport k3 devices Date: Fri, 28 Aug 2020 23:19:40 +0300 Message-ID: <20200828201943.29155-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