From patchwork Mon Dec 30 12:00:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 972 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CF71C3F076 for ; Mon, 30 Dec 2019 13:00:43 +0100 (CET) Received: by mail-pg1-f198.google.com with SMTP id i21sf22737926pgm.21 for ; Mon, 30 Dec 2019 04:00:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577707241; cv=pass; d=google.com; s=arc-20160816; b=XTKoubmnbT4V66BrLJl26gpCJkgDlRk9HYSs6trN0C3oWrDMO6owsOeqMckTuhKnAm oJHrAyvCLpu49Bc+OurpzCOIJccfOvOSC1AYUTz8zhn4+h1+5pFQpbqT/+B/GkwgqBID zt5IqGQd4EcY2MnrD1e5I08aGY1JsUbkYLlxqvp/L+RvzjZsb5KFD8YHxdG8sYnoSGLP 8S+8nV2B1xIF9klpTY4pvqKDDR0sPmHZ4kyTBRzmSXRGiz6Y0tvT080o46JJBjAf0IAQ in9A8ikLCiPL95W4NTFWcCFnSawTo8rDNxtSpXb/4XOuAqPz4jSzL4EaPZ3IXIy7JPzr 2L2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=rQsRqU0D5/FQWnvcse8rhXHniSWYQnJW819CBOsQdTk=; b=fc7mhfqzWqKgw0IOuA2F+MRFECd55amyWbjLb+JQmyyvO/5iDlXTjv2ciHfRstNHOU hpygD4kngydjOanOnuOrdpRzihM9EeU/dmvZOWOqMRNkXOXygxeTn/5mVq7XJdrwcaQQ m/N+O7528+Zbj19uP8LYW4OQ/06nKN46BdN1khPKY2Vt2me2W8039yzebCUyaq7SuvbY X4+TZkb3Jki/FDM0wmY22Yy8kzIIIYyzyaDEiYXuVw9o19pvGTvqNhoWF2TM8zDzgJ9P Myd2ityHZsgy8yHdIMAboucMsK2d8bc3EJXLNV38qK7lfsjTXtzXCu4kIjE22no+0arV Ojhw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nKEfuAB6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=rQsRqU0D5/FQWnvcse8rhXHniSWYQnJW819CBOsQdTk=; b=GqRfORksYMVrWP3R5MBERUQzW9sRBnDfs0IrJrVQJ1AacNewfzNSExkX1duVLw2nSc bjZmQzyqaHZJnDW++INu0+xMrgDP5cVF0KpPKSY9yopALPAmRnnRw7p2+NSO9eJwsTe/ qoyJRpD0EA8xdOOY+uQ0meJNEItBD3vVtLvLs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=rQsRqU0D5/FQWnvcse8rhXHniSWYQnJW819CBOsQdTk=; b=ZEMQ2rHGlbweU/FE8Mq1H+bhgaMXaDIc08EDKLBPU9MAtUubM17a1vVrDLcmv4ZoGY aOWW2+9i8XoPwsXlFKzXXwT+ZQC4bJqLS/S+abuvj8dbOdDsO7jPY8x15zvbVTGW98Tl u8RrPzBD97WyGKge8VNFJ3xJ7b8ztRaTdvHZYCLc98AQqW2lSI7t6Sz1Ygm/IAao25Y+ FltHhQdqWQzjsLUzgHKI+XjOcQf4L2AO7zvA7MQE4Sv216MCPMYoGVa5q/181XRPZomI oCIXgikTmHWU0jeSUMvfURChcyHqsyUlLcokMI3RgX9jwaen7t0ElSAvaNj0RXAu2Zee r25g== X-Gm-Message-State: APjAAAVcuMyWtZ7ACYNwhxEKdvZyzqKGmtwVg+sz37PrAYyVZq6oeULT hGvfRlN8vhHT3TWyz2hhIMPbWqA2 X-Google-Smtp-Source: APXvYqyeZ4h1ac7o4T1vKsm7F4GmHqx/Gur3qfC3OEAx0pUIgxaUZ1kPFfh0waKW1HU19gjJa5eFQQ== X-Received: by 2002:a17:90a:1785:: with SMTP id q5mr45907038pja.143.1577707241571; Mon, 30 Dec 2019 04:00:41 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:ac97:: with SMTP id h23ls9231122plr.14.gmail; Mon, 30 Dec 2019 04:00:41 -0800 (PST) X-Received: by 2002:a17:90a:fb87:: with SMTP id cp7mr45786080pjb.56.1577707241071; Mon, 30 Dec 2019 04:00:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577707241; cv=none; d=google.com; s=arc-20160816; b=MLR9WiVSFiMrIEu+eUbVT77SpoIAXNhoS1ZOmKmTQgK8PjMjkiu8D+JXkey75Wt9mM fIwtx/krCT19/SCHn1bigtpwRro2nm4iWfmlQf8ysnQAfzDSFbPJIvjT6pzRpHzXXCoo Gu9DI9wuI+QETcofKW6UszTPyTahTcl9U0BhBa0y51hSMYlJKclWZqIQXpqoM5zNo83J 7FxscIqdaH1AWp+aYntdHaRQ+ZRib3Hzn6Nb0EqziFXbLtAOFW2S5VfPyAgTpGvJehal nQE6X8zQZj7CLWRkwfYpW+WzabxHV5qQiaFmfrWlrbKkG+ZbazrmRQsjPW9R30RPVOSZ Q2MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=ezrVDS5UNFy526/k6xxwjbva2ps41hVNTGiteYBwEkE=; b=AgBKt/qalRUcyck1xgu9IRXVasBckQNAadxfRRJ8yVsCtbBDX/jIznuh59oH6agEeZ WXuQbHZhnE3K91t+ZoX9aehcZr+JYhPal7OcNCAFEtgdelww6CWDfwzfsPZoyrgFS79L bNcjf0V+cUCM5xctALRqIr4upLFRytheEs8UwmUtMfCfk44ZcUXhCrVnaUefv9sF1Y04 DIk9r7Aw/90l7++YzRXP43Tq7Hz0pSIy0Bou+tPXvzWAQC8fRtHF0+et151bhbw9Ii5e oWfcZLcSCGPvm3HHIlhvwx7uI4j8diz5gPeNt2VBoKyNgR5VndsXDOZoXrfSkUL+4ZTv RBmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nKEfuAB6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id b6sor45137557pgm.69.2019.12.30.04.00.40 for (Google Transport Security); Mon, 30 Dec 2019 04:00:40 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:447:: with SMTP id 68mr73426628pge.364.1577707240026; Mon, 30 Dec 2019 04:00:40 -0800 (PST) Received: from localhost.localdomain ([49.206.202.131]) by smtp.gmail.com with ESMTPSA id 7sm41894122pfx.52.2019.12.30.04.00.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 04:00:39 -0800 (PST) From: Jagan Teki To: Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Michael Trimarchi , Rob Herring , Mark Rutland , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki , Jacopo Mondi Subject: [PATCH v2 1/3] ARM: dts: imx6q-icore-mipi: Use 1.5 version of i.Core MX6DL Date: Mon, 30 Dec 2019 17:30:19 +0530 Message-Id: <20191230120021.32630-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=nKEfuAB6; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The EDIMM STARTER KIT i.Core 1.5 MIPI Evaluation is based on the 1.5 version of the i.Core MX6 cpu module. The 1.5 version differs from the original one for a few details, including the ethernet PHY interface clock provider. With this commit, the ethernet interface works properly: SMSC LAN8710/LAN8720 2188000.ethernet-1:00: attached PHY driver While before using the 1.5 version, ethernet failed to startup do to un-clocked PHY interface: fec 2188000.ethernet eth0: could not attach to PHY Similar fix has merged for i.Core MX6Q but missed to update for DL. Fixes: a8039f2dd089 ("ARM: dts: imx6dl: Add Engicam i.CoreM6 1.5 Quad/Dual MIPI starter kit support") Cc: Jacopo Mondi Signed-off-by: Michael Trimarchi Signed-off-by: Jagan Teki Reviewed-by: Jacopo Mondi --- Changes for v2: - Add Michael s-o-b arch/arm/boot/dts/imx6dl-icore-mipi.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6dl-icore-mipi.dts b/arch/arm/boot/dts/imx6dl-icore-mipi.dts index e43bccb78ab2..d8f3821a0ffd 100644 --- a/arch/arm/boot/dts/imx6dl-icore-mipi.dts +++ b/arch/arm/boot/dts/imx6dl-icore-mipi.dts @@ -8,7 +8,7 @@ /dts-v1/; #include "imx6dl.dtsi" -#include "imx6qdl-icore.dtsi" +#include "imx6qdl-icore-1.5.dtsi" / { model = "Engicam i.CoreM6 DualLite/Solo MIPI Starter Kit"; From patchwork Mon Dec 30 12:00:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 973 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 661DD3F076 for ; Mon, 30 Dec 2019 13:00:48 +0100 (CET) Received: by mail-pf1-f200.google.com with SMTP id e62sf611718pfh.14 for ; Mon, 30 Dec 2019 04:00:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577707246; cv=pass; d=google.com; s=arc-20160816; b=QMvbm6R5leMBnCDeqW9U7/7qFLnRCt+o4yHj3TiJpR4X5RyKffMe1IIvBt+g2IQoby nhEWFLBji6qQKyOlEDSBitvqd1XeooCYk3tyKS9hMkclgOv6Pa8jdj9qTrzO4CO5uLSU u/TOk8J0jGMuBwQTv26wcFPg45X2I9ew467gXqUfqRgyO80ikjgT6Uxlk095krJm2Q8k MalZITecRJFk+VQ+oQzcg7NvuSBDzknmwqznrVkc8rNZ/x7KRr4/hUoGkN9xVh5TMObh a8DeUiCZpbGNj5oyHF12nkYbOusIs22q0zDhnxSL5Fp6vZm8UTF4xdHq8+r0HePbCx1s l+NQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YJzU3Un2YoX7EdL6DlIP/R5F5gCUdBEIC1gKaWAy5PY=; b=u+E8ZLIuoZV0cuh+z5bmDu1UP0+SfSBE2SnKi+lnitggGBEbpUVYWfs79WJNitbIeb CLygx2ya2h8Yk1GM9NXyPzgrNwPHD/3c4T8p0BI2dDXvuVZqAO7pweEuxykZlzCt29Mc PdyKE3XXMNK30KdeRst3mKJe/cc2QqTia1RNBgq7c9pIgU/neUaoJexBMiIoVOidUeMJ hAKoFpYTeyVp/7GkKPoTQ5jPkGqVNlHAz0ihI0eAJ2G4kCxwQzP/pTf0tcveHEnu6Xa3 UnSvMo+gm+o9jhFyRfaQS0y2UE0Sm+mrdPYD4xmKrG6Y7pf7ofZsG4HKtNMWcBR0wbiy qzoA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kRfxtsSQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=YJzU3Un2YoX7EdL6DlIP/R5F5gCUdBEIC1gKaWAy5PY=; b=KVUoOBbqnSFonDTQFb/z46n0IAX2jEtd++zFi0cjg08NSNysUdy3HjZL1s6kT2vata O92iqEEV49+hLGYWrMIhzVdp7yNSIUbSlxFiN1C9akMEbhzxiRggcH9t9/NPibGpRQkT ZcLK8kZuCkL6rKE9DWM+oeUvgHTw3hJXQ4QM0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=YJzU3Un2YoX7EdL6DlIP/R5F5gCUdBEIC1gKaWAy5PY=; b=IXXSrm8tz8IVYfQ6Z/5BUi7rh8Wslq7f6D2gNZJz8SUl3MhC8EBqboUSEnMRT3AOrp r6Cil/VojPzQ22qtQgb8/pe2u6YLw9ZvSuzjFlCqqSNVMticQzPRyYuwxaOhoObn9y0h CPqmEG0uuy841879C8OgYoMzQblN7x7EjmXgRzCQ9Qa5tSy54jfI1jZiamRHteFabEdj d3afzdIGP5+2B9KveNSJdQGLqQVr7ElhV/RSLqRZRxo/nk0PTwheKNbs6Y9Ad8yzhpap 6Bkn8lViYDxBr+u1T9mrwO9/uPV4TZdvtReNrloPESSAywaveXTvmUDQB9GzfqwdEs0X oZGw== X-Gm-Message-State: APjAAAUX8WFHOe2B4egHETart2STp2gN78q+xHOfi03K9j1dIWvJXupK NcR9iRq8KitvyqWqYgqIjwP+uWAv X-Google-Smtp-Source: APXvYqw7SdgmGRuX79eLkK1idoHpWdKgnwjClcgNYHzpKU9jCQDihUZPfvQZ/njMDIHdG/hDdT6CqA== X-Received: by 2002:a17:902:9a8e:: with SMTP id w14mr67171437plp.315.1577707246333; Mon, 30 Dec 2019 04:00:46 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:8214:: with SMTP id x20ls6763908pln.15.gmail; Mon, 30 Dec 2019 04:00:46 -0800 (PST) X-Received: by 2002:a17:90a:2808:: with SMTP id e8mr45305414pjd.63.1577707245816; Mon, 30 Dec 2019 04:00:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577707245; cv=none; d=google.com; s=arc-20160816; b=Xy/LaEan95Kl3r1kinwVoUQIQJsuh9jk2uLjjudopeyABflBXnRG8L25SC6x/R8vBP IAbO+n0jG/cXP0wy8qZH9+399YIHa58eDa3fOzj4Bp88TKVA3WffSvY3y+GdoApawGPu j3VG9r1/89gOQA6/opv/UWVq36aQWRa4u0uPbvME8IZt1NPkVGNuCyDLxoBDmmsZPmrl 7105l+HcT2Px6XIGt202mKw6+wtNkxpvHvF/KcuLs73SDDwb2bH9W7hHwMk/M7ZwFDR8 aBZyweCWQ1920Ql6Il703Z7ngdpx39+499kglr4YAiC3hSDCHbFvh3b180UGQRxO2S1a 3oMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=jyGtSwgFvChJP9qUZS2htQwi6EMpdKF3tyPpfkjOp/g=; b=oMluK/TM2iBdF9yr44WQ+eVj4m+vDLAr6XYYHmK0Yovr/a+6q8sW5qZ4E6lncs1F2p vD4YjUbV6pMdajcuLQYTH+ctA4lt/eRtws11EeW6dtbYtHC7c5ZoVdRZXkkwWsRMf50I uf0xJkQ+v1U+UAC9GzwIGE5uYSSz6bDpP9SrViGd79KJ1RwUk6oYNXqrVwUAhR7YpjF2 TyFkwweiVcTPEy1QLRz6cxfam/wTpRKHjmBWENRDS2CetzuR8Zwxc/RRowhBQKLZHz8p nTTSPAxZpNRGwQYZVu1+Scr5auTj/PFh+AvrZR7ioXARrqXkv4tZoU9mCsqQfVvBS7A8 BerA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kRfxtsSQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id h16sor24083746pju.3.2019.12.30.04.00.45 for (Google Transport Security); Mon, 30 Dec 2019 04:00:45 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:930f:: with SMTP id p15mr46096254pjo.2.1577707245545; Mon, 30 Dec 2019 04:00:45 -0800 (PST) Received: from localhost.localdomain ([49.206.202.131]) by smtp.gmail.com with ESMTPSA id 7sm41894122pfx.52.2019.12.30.04.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 04:00:45 -0800 (PST) From: Jagan Teki To: Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Michael Trimarchi , Rob Herring , Mark Rutland , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jacopo Mondi , Jagan Teki Subject: [PATCH v2 2/3] ARM: dts: imx6qdl-icore-1.5: Remove duplicate phy reset methods Date: Mon, 30 Dec 2019 17:30:20 +0530 Message-Id: <20191230120021.32630-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191230120021.32630-1-jagan@amarulasolutions.com> References: <20191230120021.32630-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=kRfxtsSQ; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Michael Trimarchi Engicam i.CoreM6 1.5 Quad/Dual MIPI dtsi is reusing fec node from Engicam i.CoreM6 dtsi but have sampe copy of phy-reset-gpio and phy-mode properties. So, drop this phy reset methods from imx6qdl-icore-1.5 dsti file. Cc: Jacopo Mondi Signed-off-by: Michael Trimarchi Signed-off-by: Jagan Teki Tested-by: Jacopo Mondi --- Changes for v2: - new patch. arch/arm/boot/dts/imx6qdl-icore-1.5.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-icore-1.5.dtsi b/arch/arm/boot/dts/imx6qdl-icore-1.5.dtsi index d91d46b5898f..0fd7f2e24d9c 100644 --- a/arch/arm/boot/dts/imx6qdl-icore-1.5.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore-1.5.dtsi @@ -25,10 +25,8 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; - phy-reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; clocks = <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET_REF>; - phy-mode = "rmii"; status = "okay"; }; From patchwork Mon Dec 30 12:00:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 974 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id D6CE53F076 for ; Mon, 30 Dec 2019 13:00:51 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id p126sf18700999pfb.9 for ; Mon, 30 Dec 2019 04:00:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1577707250; cv=pass; d=google.com; s=arc-20160816; b=majLYITcNHC6eiM95JancTEW66mdXNKyPKOHmht212OjelAFnW2xgWHi8FwaNpUXSA DljGWi/7TNAWDcMz7ISadZMxS5EtRTLYZbv9qKIgFH3sRJHlfagfFA6J+WtovonYOFer 2Hck3m3/vsIRWjXPGGns6jsq/HjlGBgTIerAXUWt5YxcQiQSp1hxvhDu+LwvJGuIQENv HdDSkBpaHua81W0i0Rhjh0diOo8giPta52ESXEZv/F/yTBGo+oGyk16ZhhWTfK7WYd+o Pfgs5XmpfNark7vAJKzwugsiM0dNsnwp/KKi1md8SdiW0/kZTPPg1E7FGocza9MpJhEg f5Tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=h4KSSK39T2YNqdY0tur6atPbDtkMUxPp+bfCKVD0dDU=; b=Y+1IyTZfZ1xh/YRfCUIpKYAyxum8BL7wq/ozCpRYALfPU4zUMOd1cyiavdOn+9sugl HPS91CGVP+t7RXQ4jkD+tLR63JvS7xwAZPM4/xUjzr9RsKlN7iVa6W2rSrfJU1SpSrI/ Oo0+hhr+6S2dNFHbw7OUiPZOmMcPgOCIg0bkh2mM4/04V8HqMxIDzHBHazV4y2oUGl9E rF74/OvYFzV/oRHFGaxTIaxN1ICZOnjOTQbEHB1riX3GcpKnVt4OuP9tiJhbZ/S8wy9S hnjF10rWX2WAwz29ebUufm1bhjDR2y4i9/BHYlWx+J7biqSxlR7P56rVjRE1GDaFhO+/ HG7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jnDiCxSk; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=h4KSSK39T2YNqdY0tur6atPbDtkMUxPp+bfCKVD0dDU=; b=fIV5mp4Je1IIB4mBo/onwhCNrU0bzL6lGRndi+HbcslSd34oRNmQFZh5POMwDlDnW/ w3b0qIy8glE1Xwu37vrIBcKTDK896lpFHKuSGTLPc3XJ55EyKtO/U9STwfQkE3A/vQHz jwbTq5iq59EHcxfX5d/Ne3Tev8zni9fF50hNI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=h4KSSK39T2YNqdY0tur6atPbDtkMUxPp+bfCKVD0dDU=; b=LJV96lSkeMV10GEufIaAUZ6wwftnsHl8PvpPrmDdkACwH7UqGSNYzj0sSEXPlm/R5W 1XRl54y6VTaDOEMCMvtyPmaKSAjnI+D6CGq14Nctgz2/HWnMstGnGnoZ7T5VbGmss89x dt08iemsqgs6Ey1jdT+ou0CxX4VOzL3RmJ3Uh6TJ0kvNK4CegHQ/F+M7lsQs3po7G/w/ iL0eKhusZ+7toCpgaEaZyncOxq4mZanR/G39VEO4cdAL4tfWYnurjytJ5ohRDSxfVfN1 AschZn7pdpuISToh/hVlCN4qGUhSoGBCluhtJHS4GmmIST3WBPf0tsDzvgrzK/dYvYKb dDww== X-Gm-Message-State: APjAAAV5LCvBOfkK0C6X+XVlnGPZZs4aMmtOciG3zl6QuTW2qo8bMHf8 E9YVrqTOrjsBQSls/fvItOJVe7GQ X-Google-Smtp-Source: APXvYqxm03klN4mBeVr0kjVLrLCd1QPnED7mD5oIFeAJ14AQoa9MxAnd+BAassNqNTVSPmNZsK3qBw== X-Received: by 2002:aa7:848c:: with SMTP id u12mr68449025pfn.12.1577707250695; Mon, 30 Dec 2019 04:00:50 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:4608:: with SMTP id v8ls9239232pgq.8.gmail; Mon, 30 Dec 2019 04:00:50 -0800 (PST) X-Received: by 2002:a63:48d:: with SMTP id 135mr70654787pge.66.1577707250152; Mon, 30 Dec 2019 04:00:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577707250; cv=none; d=google.com; s=arc-20160816; b=kxYD3K6NIrQGcNF308oUo5zoPjh+2pwQBjZbK/JfgYl6EVanEX16qsof4zZCLdMQHO d0G+LGNO0CUBJ8pWkL/sLBA9RzPT8AMj26v/VTnZ4zE6M3AknRRPuCUJ1kfoG40ettXt f6YJ2itP0gR6wmRM+tV/7TP4/PoNlZilUK0EEm5jQxoOP0mVh1Mv8VJp1yWEE9uLeY3k qDib2MrJlUOvGtLJoYylnClCgpo/cTpCU9Azo6R4xoKNuOqVohAvBsi2OrA3yTeZq+sr Eqv0f1WV99caTCiWK67EbbuYWukk9OOaqtmqyABXk/xxwj/bhieVVCZEihC2RuHveO5b /mTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=loK+/2QBNqR4qI1aKCHvxn+umU8QIBnua/KHI6KiyXg=; b=tlrtByIAgjvahuHY8zRgKP2MajqXG2a9AAuouykUqkvOm3+Xz5aehl0CJBd3uqN7Bh nqvyQqI4Zk3wAeJk80QTTNRw7o1X9epBefxkDx7SiAYso0QCIMCfjH6YJfliXItmTl+s lTnGT1gSBeoqJRKzm5SsJkODTJBVMhD6bUP+7w3nEVnHYLHWIN3caZaD+WgSWOJnTHtp ZXCATiPTEXHVWWewuUlI10JaHyF1Z8H74W9EqgN10CCCS0ulqG5Y7W5kZCJXe/mQ+JWa pts+y7REmsO/wmhbstPVT7pucRlBl6S3q0dDYCGGSok67B57bT0BX/3fL9cydUfRhhjl ooYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jnDiCxSk; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id h22sor44904684plr.7.2019.12.30.04.00.50 for (Google Transport Security); Mon, 30 Dec 2019 04:00:50 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:7c0f:: with SMTP id x15mr28595069pll.267.1577707249818; Mon, 30 Dec 2019 04:00:49 -0800 (PST) Received: from localhost.localdomain ([49.206.202.131]) by smtp.gmail.com with ESMTPSA id 7sm41894122pfx.52.2019.12.30.04.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2019 04:00:49 -0800 (PST) From: Jagan Teki To: Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Michael Trimarchi , Rob Herring , Mark Rutland , Pengutronix Kernel Team , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 3/3] ARM: dts: imx6qdl-icore: Add fec phy-handle Date: Mon, 30 Dec 2019 17:30:21 +0530 Message-Id: <20191230120021.32630-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191230120021.32630-1-jagan@amarulasolutions.com> References: <20191230120021.32630-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jnDiCxSk; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Michael Trimarchi LAN8720 needs a reset of every clock enable. The reset needs to be done at device level, due the flag PHY_RST_AFTER_CLK_EN. So, add phy-handle by creating mdio child node inside fec. This will eventually move the phy-reset-gpio which is defined in fec node. Signed-off-by: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v2: - new patch. arch/arm/boot/dts/imx6qdl-icore.dtsi | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-icore.dtsi b/arch/arm/boot/dts/imx6qdl-icore.dtsi index 7814f1ef0804..756f3a9f1b4f 100644 --- a/arch/arm/boot/dts/imx6qdl-icore.dtsi +++ b/arch/arm/boot/dts/imx6qdl-icore.dtsi @@ -150,10 +150,23 @@ &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; - phy-reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; clocks = <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET>, <&rmii_clk>; phy-mode = "rmii"; + phy-handle = <ð_phy>; status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + eth_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; + reset-assert-us = <4000>; + reset-deassert-us = <4000>; + }; + }; }; &gpmi {