From patchwork Sun Nov 25 21:18:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 055FC15A8 for ; Sun, 25 Nov 2018 21:19:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8BD429784 for ; Sun, 25 Nov 2018 21:19:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC50C298A6; Sun, 25 Nov 2018 21:19:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9437429784 for ; Sun, 25 Nov 2018 21:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=p0wszEdAMgjA2I2AtH8D+PhdVpFBXvS1IsWIiB5tZQg=; b=DxKonAjjzcaOZj 1/Mizs9SUo2cok3MTQy1VX6U+rPwimSaezTwv3bUl4N/s0JLrK2RVnpb+jRYejkIGDc3T9jq8KuV0 dj650zNwKMZHPWBP3j5x4QOXWOsjxmplw15lMa83QujeynpHF1wIIdc9oOiHIxeCpdEIAdk59CkH4 yGU+rLeYZx331ihfVUYDdhjjezNwdAg62M+DW+2MZ3wztGD9wVWeWxDZBgcV+r9TTjCzc7spFMAyR lFaDK+lVkjaZxDq+xXHxc/NLB46RUtoJsZ6Gb51QkPY6tlHYNVOkoKaloMm6voi26kSLk/6ZzH7RU 5ov5IyxNc5tZ6fjDH0Yw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1oZ-000378-7l; Sun, 25 Nov 2018 21:19:39 +0000 Received: from mail-qk1-f196.google.com ([209.85.222.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1oP-0002zm-58; Sun, 25 Nov 2018 21:19:31 +0000 Received: by mail-qk1-f196.google.com with SMTP id o125so11205905qkf.3; Sun, 25 Nov 2018 13:19:17 -0800 (PST) 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 :organization:content-transfer-encoding; bh=NgPVpSWcwB90ObPRF/c1AagXrsN5eYDApJ9opL9uxQo=; b=C9GLgnCR+pCtkIgc5LIh72QaXxUUJFDpCi2gZPKf+5flkGt8l0KhGr01wbW6Z9ZSMc cjnpuWATxKcdrvbS/lcmsk1oNzUHeks3a7rmtVJFkucI+CCkUyFua/RihxfUg/BS7tZG qUBnMAvbEpaqHQ+s1xA4kQuzG4WGL7A9rJGQXoP/J1g88vINlgsxUPDfCs1xfo5g+Jp/ Be/s2bLxmPCPqEXPOJIPfjLof2398i0ogkKw+voj3QjD3jpqV40Zqz97Wz8OhSW4sl1T JhN7gIV+Hm/RMrv/UZJ4OGz7glDS51SKg/8rMmlRw5al5f9Y4gyDwbGkgImPMG7gp4nk u+lw== X-Gm-Message-State: AA+aEWZLjlmF/RKVfcz3/o6GS1RNA0as1mfqQHMHK3QgdcUwvMmAgHNe x7axU203xVr5eozwBqsWx3E= X-Google-Smtp-Source: AFSGD/WgJGdA67CRzE7LBo4PpT/gWdzDddxIhV0PPxfYgNnLqPWpAc4kFhosS4kjIw3A6orryxOw5Q== X-Received: by 2002:a37:3753:: with SMTP id e80mr21678504qka.207.1543180757055; Sun, 25 Nov 2018 13:19:17 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id 126sm24953760qkj.70.2018.11.25.13.19.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:16 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:09 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 01/13] ARM: multi_v7_defconfig: Select PHY_ROCKCHIP_INNO_USB2 Date: Sun, 25 Nov 2018 19:18:55 -0200 Message-Id: <20181125211907.9895-1-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_131929_197988_6CFF6518 X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Otavio Salvador , Arnd Bergmann , Tony Lindgren , Russell King , Stefan Agner , =?utf-8?q?Yannick_Fertr=C3=A9?= , Eric Anholt , Olof Johansson , Simon Horman , Geert Uytterhoeven , Alexandre Torgue Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Select the CONFIG_PHY_ROCKCHIP_INNO_USB2 option by default, so that USB can be functional on RV1108. Signed-off-by: Otavio Salvador --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 63af6234c1b6..a8ec309d182a 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -947,6 +947,7 @@ CONFIG_PHY_CPCAP_USB=m CONFIG_PHY_QCOM_APQ8064_SATA=m CONFIG_PHY_RCAR_GEN2=m CONFIG_PHY_ROCKCHIP_DP=m +CONFIG_PHY_ROCKCHIP_INNO_USB2=y CONFIG_PHY_ROCKCHIP_USB=y CONFIG_PHY_SAMSUNG_USB2=m CONFIG_PHY_MIPHY28LP=y From patchwork Sun Nov 25 21:18:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697101 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 700801591 for ; Sun, 25 Nov 2018 21:24:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C77B29494 for ; Sun, 25 Nov 2018 21:24:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E7B129585; Sun, 25 Nov 2018 21:24:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C623E29494 for ; Sun, 25 Nov 2018 21:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hocTrN+Qr+XpaAGHq/FwzY4LHrC4f4P0ciGBOdIuvwE=; b=IziacYirh4eHeq 3Rrb6TUQg0e/QYhJ8gtBohkgAtVFgaUNEVz8WweLcag0itp6r90TvxIxIMtoY4yaA1waSip9L816d 0ZoGH3d/8u9jbsfs1gSg2AhXwZ15+dEw8zjx7uLSHhmGt92O+tbjL7zRLGdqfbQdvxK3a/jRC1q0H 8yrp6xeHTli5xKsQ37/WHXoQmmYh29aJMoZCAF9gCKuaZadjunLLfh5uQmPA6+7n59hVC6J5WqCmy aGqfzUh9tdy9v7EnT3L8wCDPJmHduXThuU8HwBumSWOSdLRRVSEMY9LR9zA7Wse98s0RmbGlG5JnP Zql05ZuTYAhqg+pMvc/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1t5-0008Dl-SC; Sun, 25 Nov 2018 21:24:19 +0000 Received: from mail-qt1-f193.google.com ([209.85.160.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1oW-00030I-AO; Sun, 25 Nov 2018 21:19:41 +0000 Received: by mail-qt1-f193.google.com with SMTP id z16so15473986qtq.4; Sun, 25 Nov 2018 13:19:25 -0800 (PST) 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:organization:content-transfer-encoding; bh=t7lsGt49k3uMFJJvuNzeFS8yN2cadVdozgLlp7QA5Rw=; b=a/EM+LNrFMg7BtsLSD5xhKQElzAg82CN5eK/AOMMagCrk5GPHL4vj+tD9YhoEzfIrX U73P2Ml+HjdkZJqz+WJQ4NyAXBh6npY0ghbpy6K1wzLjuYCPgsSEpF1xULYIWUseYH6l qeRUifg1ylivoP9Q+GRYXw5bsLzroCIDt5RDgF7+1tEeSH8tVfkj9grgCdaOc/+UBT8c yLJjsXqyrTkMZqoH+p29PbeZuGqKnqJr+ZXcI5NRGjXbSenrZzhJBDfsURgPicNUD4xq OjEl4wqG0OJgMhvywdb/1M9SWKHGdoubhF9SYwfn3chXcpD9l0KL/hlpUgD/Di7boiC/ CJDw== X-Gm-Message-State: AGRZ1gJuT7QKlYYjw1UfoaZ5hDHmJD8JUhSsLNQhRLzAKMfI4pRPLhTR xigzuF//I6LPliJ/yAxpxrD4B9RK X-Google-Smtp-Source: AFSGD/X/MGPL87LfggLjE41ETpwvRtq1ecYQ49ZuzhXhRuda2CNqnzy7elo0RFd8tZ4/3uxeVLoPJw== X-Received: by 2002:ac8:29d2:: with SMTP id 18mr22909197qtt.174.1543180765097; Sun, 25 Nov 2018 13:19:25 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id x41sm9240825qth.92.2018.11.25.13.19.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:24 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:17 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 02/13] ARM: multi_v7_defconfig: Add missing systemd options Date: Sun, 25 Nov 2018 19:18:56 -0200 Message-Id: <20181125211907.9895-2-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_131937_512870_1886E682 X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , Fabio Berton , Otavio Salvador , Arnd Bergmann , Tony Lindgren , Russell King , Stefan Agner , =?utf-8?q?Yannick_Fertr=C3=A9?= , Eric Anholt , Olof Johansson , Simon Horman , Geert Uytterhoeven , Alexandre Torgue Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Berton Signed-off-by: Fabio Berton Signed-off-by: Otavio Salvador --- arch/arm/configs/multi_v7_defconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index a8ec309d182a..34c8a745d951 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -2,7 +2,12 @@ CONFIG_SYSVIPC=y CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y CONFIG_CGROUPS=y +CONFIG_CGROUP_BPF=y +CONFIG_NAMESPACES=y +CONFIG_USER_NS=y +CONFIG_CHECKPOINT_RESTORE=y CONFIG_BLK_DEV_INITRD=y +CONFIG_BPF_SYSCALL=y CONFIG_EMBEDDED=y CONFIG_PERF_EVENTS=y CONFIG_MODULES=y From patchwork Sun Nov 25 21:18:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697059 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B24517FE for ; Sun, 25 Nov 2018 21:20:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AB48298A2 for ; Sun, 25 Nov 2018 21:20:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F1E8298AC; Sun, 25 Nov 2018 21:20:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D84C298A6 for ; Sun, 25 Nov 2018 21:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X9TqIbE5ZmkIlFJRQZ/7xxwZm5/8nqi50hjmk8D1NU4=; b=D0zngkOeGPu8EN T9WHA8EFaFfr5ZeRxGxc2COXAWEdyihA7xKesktsr0jCcUgW2XHc9/+C7eaUHMrfjFbE9numK/rPX OVoq2T743e4mRY6NXHf5p+C0Aop+qSGGVf9mTaC0zj6EOmkLN/oQYuV5VSATuEqIlK3/i1bhZWOvu K0/3VWWAbXPt0IxYXoSDCv4vc7jb9LoPrZRI3cFZccp4KiI9Syd377PNYL/qa/tByP0woSe2N0d5w F0VjWLM3V9p/F8wbNEcNMt6TVjcwugiFFpf72NgTeoFYkEh739qJ+rFnRU4NDjeWaboX4PqfYQ7RI pt/EVOokksCt1Fkb1mUQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pD-0004ZE-Pu; Sun, 25 Nov 2018 21:20:19 +0000 Received: from mail-qt1-f194.google.com ([209.85.160.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1od-00031A-BS; Sun, 25 Nov 2018 21:19:46 +0000 Received: by mail-qt1-f194.google.com with SMTP id v11so15476467qtc.2; Sun, 25 Nov 2018 13:19:32 -0800 (PST) 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:organization:content-transfer-encoding; bh=r/2+M63UuAJuJms3m/6f1vD2KKXomz0M49HpXRFfEag=; b=fGEvw9DrFblu2HzqQL5U8S9jTqlZXjnWUinkJDrDAZLwq8/IRgp2CnXkWXJ/cyCeFa n7526xKrbk0oCSFePFsOqMvJmr9DRgLSo3wFyqxRJCrTEUrf8nZjNzmp98DFdPv79Yom ny6mE9q4ZSuE9PQYRVcKVfF2O35Iji0oXu41U3GooriHvRSnl36bs6SbMQbmSaEiEv0W hV4TAicnEIKIAkhipXhkuXDVGUkoJ/dNEE+GDorsNgSTHZmkwxzadIn/Y/pXQWotKMhm kluVbz7vJDgsy+PJJwcfJxdtEbtbo3lpa/VL8cIUhaqmtTxlEA0bojc5LZm5vNzOSaYt oJjA== X-Gm-Message-State: AGRZ1gLPjS56DASpB66VzahMVot/zRqjJZOHZTeldJbXZqvsSO0ttBWH 4DjOmXoLbmItGc4u0i1vBDw= X-Google-Smtp-Source: AJdET5eAy7UACFbqLvZPY1JaT+cGFqwOyA4bFFnEFtf5vxo9xgyfsuZlU/YnGTMjE9+zyIK3aCUtCQ== X-Received: by 2002:ac8:962:: with SMTP id z31mr22630315qth.305.1543180772089; Sun, 25 Nov 2018 13:19:32 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id b188sm13642238qkc.58.2018.11.25.13.19.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:31 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:25 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 03/13] net: stmmac: dwmac-rk: Allow the driver to probe when phy-supply is not present Date: Sun, 25 Nov 2018 19:18:57 -0200 Message-Id: <20181125211907.9895-3-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_131944_437547_E4DFEBC3 X-CRM114-Status: GOOD ( 14.90 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Torgue , Otavio Salvador , netdev@vger.kernel.org, "David S. Miller" , Jose Abreu , Maxime Coquelin , Giuseppe Cavallaro , linux-stm32@st-md-mailman.stormreply.com Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The phy-supply is an optional regulator, so we should not treat as an error when phy-supply is not passed in the device tree. This allows the dwmac-rk driver to probe when phy-supply is not present in the dts. Signed-off-by: Otavio Salvador --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index 7b923362ee55..73855622445b 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c @@ -1205,7 +1205,7 @@ static int phy_power_on(struct rk_priv_data *bsp_priv, bool enable) if (!ldo) { dev_err(dev, "no regulator found\n"); - return -1; + return 0; } if (enable) { From patchwork Sun Nov 25 21:18:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697057 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 981D715A8 for ; Sun, 25 Nov 2018 21:20:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8824E298AC for ; Sun, 25 Nov 2018 21:20:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BD61298BC; Sun, 25 Nov 2018 21:20:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 586A3298B6 for ; Sun, 25 Nov 2018 21:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j0aOpxoJHNHpNLZ/iN4mtSOMre2HnwTUFCjWHHC8rB0=; b=sgvb4F9TkUTwmz APzdLESE972hDAPGcdRhzF9RqhBzJodIGRvWoNK3c/TCbFWks5p2RZdZf8Ei5ZRKQlmqcTENkMayu xmkv0CXWhuT+BtaMibQRxH8R0ejW4pbVOMfnTwuC6eW85ERe6lHw1gENXXAUksLSMH8rvFkRBKhHV TXsaFLPtcghNHEBnx886hvuEuR3lA+bSy4BgOYFZszLFIbe+xiursptSCL8X7WlZ/dsPTZgiOfMj7 nWGSsqEmPpnR3lU9SJqJhCGJBBdtmDY51ipTbr25ek38vOLRuCTkAxMudK9frShYSDztQsNnpLw1Y B49V4NV3Yhw3jbQHwHnQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pJ-0004vl-68; Sun, 25 Nov 2018 21:20:25 +0000 Received: from mail-qt1-f196.google.com ([209.85.160.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1ok-000384-HL; Sun, 25 Nov 2018 21:19:55 +0000 Received: by mail-qt1-f196.google.com with SMTP id r14so15491459qtp.1; Sun, 25 Nov 2018 13:19:40 -0800 (PST) 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:organization:content-transfer-encoding; bh=C6R+qDyqlpWn0q3ocsfJiX9fqgAizmAInnj+rDl9fvk=; b=rd1aRQ8QY+VWAtG6QtSDj7cXLt/duculK26fFdvTMWmZ81ywvn+onI3k1mpgCI/MXF sI+9psf3IixiSSChXMMUzBqBNYd1UZINgMbFe27v1Rbt379RH5t9/+FRkvFFubRVDjRh bJG9AWO7+QRi4kWIhpJVsjB07uWOC9dEMOvK/mT+UHWwjXSqBltbuk4sqbiLU2+Oq28w bVaM393N9G3FoXZIfV5dl9liJ+s4mS6ogcqKLk69xk6LurCHZM9UfYiCLwSx65TS+9wi ctDGAX2d3R5SW8NumsaFJsG1XFTGGh85/4i+TFoqFVUN9Zx0ZTNhSeDy+O38RD6raaqk qVAg== X-Gm-Message-State: AA+aEWZ5OmfH9ZXuiOaT2YgnZoRfZnXVVHpYNKtCbsQbtZAZ8aIWF2D/ FzbuABWe6zCgDHvuSRJShaQ= X-Google-Smtp-Source: AFSGD/WD7ZEFHung7/AsWCHqTvU5aRTsdWLTHpaQ1r/9X7BfKwotFk3IVLfvvNVJZzpEoiHoE7PPMQ== X-Received: by 2002:a0c:89b4:: with SMTP id 49mr23454409qvr.85.1543180779340; Sun, 25 Nov 2018 13:19:39 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id a54sm25897391qtc.17.2018.11.25.13.19.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:38 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:32 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 04/13] net: stmmac: dwmac-rk: Do not print redundant error message Date: Sun, 25 Nov 2018 19:18:58 -0200 Message-Id: <20181125211907.9895-4-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_131950_844567_5C117D2F X-CRM114-Status: GOOD ( 12.64 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Berton , Alexandre Torgue , Otavio Salvador , netdev@vger.kernel.org, "David S. Miller" , Jose Abreu , Maxime Coquelin , Giuseppe Cavallaro , linux-stm32@st-md-mailman.stormreply.com Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP rk_gmac_setup() already prints a message saying that the PHY regulator is not found, so we should not print it again. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index 73855622445b..c895a9a6939a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c @@ -1203,10 +1203,8 @@ static int phy_power_on(struct rk_priv_data *bsp_priv, bool enable) int ret; struct device *dev = &bsp_priv->pdev->dev; - if (!ldo) { - dev_err(dev, "no regulator found\n"); + if (!ldo) return 0; - } if (enable) { ret = regulator_enable(ldo); From patchwork Sun Nov 25 21:18:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697071 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B78101591 for ; Sun, 25 Nov 2018 21:21:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A58F3298A2 for ; Sun, 25 Nov 2018 21:21:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98A7E298AC; Sun, 25 Nov 2018 21:21:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3961E298A2 for ; Sun, 25 Nov 2018 21:21:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=s2gwwBRfUW+7V8KGXuBusg1zhp6KbfG+e5NPb2ZZQo8=; b=lynHYhfIPG5mJi 17i0W3cmBDzff4qJqw1k/QGTvDm+kWc7cwypH85ZJc4dzrYySZDqAAi6YeRecymWhmv7vVL0vIl+o mFINBKDVLdeOYVrXl/qlDrbKCt7aMI6AZUrnlw7jYTDu9B+jJzNEkwLg3NSO5h0GI0OdbcJ3gDz1N FQnB2I3+MtID0b7++jNQdDql5OFyC3JKsmWj+KDCv+3MdoUB6i6r1TLlSyTe+VYHPehH0hkqhUxQr m5PRPZR6kAPChucRrV7XDul6C8x7QiKzWWhK/2HxZpqaTRT5KJzLrGAE6XH7OB9jn5aRCLMoVYkL+ Mz9wIgA1UdD/8miNNftw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1qJ-0005vC-EG; Sun, 25 Nov 2018 21:21:27 +0000 Received: from mail-qt1-f195.google.com ([209.85.160.195]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1ou-0003HF-AM; Sun, 25 Nov 2018 21:20:15 +0000 Received: by mail-qt1-f195.google.com with SMTP id i7so15486307qtj.10; Sun, 25 Nov 2018 13:19:47 -0800 (PST) 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:organization:content-transfer-encoding; bh=pHzAzHhNc0z/FMpnZXFEjL0s8efZLZAz089bFx1FlsM=; b=FD4SMFvWOPoMKmZs0UED/pDwLVPyrmB5rHyQ76xq5dmeDGTXFs1W5W6jr9+H1luMyH t+TrHPNg2PY3VdNGE8PtTspPg5tE8XTGAcLtqr+Mg30xvbJuXEkMkAZq3jTSmII1AaZk 6SrYxak6Q0ZXMak4CbxJuPfjOpX/zHiTXRbeC+/f3HrvXCdadDGTqJqz1xNGL/2yeOTT dyI/cBKluFuzTMcBBYtyvwTVppMQYXTLb9oSA1ciI70rszLTVKBocvi38bKespAhpt1i XlcGv521d9N6s8quv6UgdrETms6BXfQEfI5siS7y7rQQcM57+0JdJoQ4vobFGdq1c3dc FzAQ== X-Gm-Message-State: AA+aEWYZNv0824pZlP1q2SsMOgtEyV/GBKZpzLq9RGZpA016oithBJJL dPtL08ic+hrI51iIe6FeHQI= X-Google-Smtp-Source: AFSGD/V/b/s/5ounGvWdXie0Dbii7EYHa2xhg7smezLs+OT0XpuoR77dyE1/1bewBj5bvn2fDQ3Dng== X-Received: by 2002:ad4:410c:: with SMTP id i12mr23163168qvp.219.1543180787011; Sun, 25 Nov 2018 13:19:47 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id q70sm33922665qkq.10.2018.11.25.13.19.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:46 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:39 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 05/13] net: stmmac: dwmac-rk: Do not print error when PHY regulator is not found Date: Sun, 25 Nov 2018 19:18:59 -0200 Message-Id: <20181125211907.9895-5-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_132001_075627_6CFB6D21 X-CRM114-Status: GOOD ( 13.82 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Berton , Alexandre Torgue , Otavio Salvador , netdev@vger.kernel.org, "David S. Miller" , Jose Abreu , Maxime Coquelin , Giuseppe Cavallaro , linux-stm32@st-md-mailman.stormreply.com Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The PHY regulator is optional, so when it is not present move the message level from error to debug, which is more appropriate. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index c895a9a6939a..6b4ea95a30e0 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c @@ -1242,7 +1242,7 @@ static struct rk_priv_data *rk_gmac_setup(struct platform_device *pdev, dev_err(dev, "phy regulator is not available yet, deferred probing\n"); return ERR_PTR(-EPROBE_DEFER); } - dev_err(dev, "no regulator found\n"); + dev_dbg(dev, "no regulator found\n"); bsp_priv->regulator = NULL; } From patchwork Sun Nov 25 21:19:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697073 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7031B1591 for ; Sun, 25 Nov 2018 21:21:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CC20298A2 for ; Sun, 25 Nov 2018 21:21:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 51266298AC; Sun, 25 Nov 2018 21:21:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F0BE0298A2 for ; Sun, 25 Nov 2018 21:21:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UWEpStQq9KZTCMmMzNaa9S/uHyM9ZE0EJFmVObLGQyU=; b=NTG7WVr6/uBrxc mEyuPfp+zdFYMqkdOpQcxtN8bMmeD3AWu43xlsPOIeKqteVeBRszLBoxvLkkce7ful0Fmh659wNTY 4X3GzYCEWidkhWDnO27184+9lnHjC90GRQQzPscUN41KkJrK5pGGxIbzM2sH8B6e/1EQmR8p2EbZ7 Ql2fySMqD0WqK3VnsY7t/AcKSW8Hz4ozMX7VQgO1XwR2dfmXztcBkJTVefmUEIK7988Jzh/XMToU/ P57+cgl4CAZaeqM0JMedmTcW951FA9M72EG7TdUFsx3oCgOS95jnxZbjCIVvi79FXIP/AuwfwUmV/ Wn07HbMEAfewtQ24JScA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1qK-0005wd-Rn; Sun, 25 Nov 2018 21:21:28 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1p9-00045X-L6; Sun, 25 Nov 2018 21:20:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jgBOqcDQ+ti+oJHZVWI90YV76F+Wfz4KPjje9/9ZJ4s=; b=dkzXda15s3u546H0/S0y/NNCGV zzElADf2XAsNVUgSEt8aLnz8jvDMPpeIvpPtqQTmdZMBrLUk4CBLKtijxaFUk5L1W2NkRrPNV7ey2 45k17n+gkVowl6yD6gWzVGPqh2klTWZBjzhDH8jz5dppEcmqUwmzdZWPC327K8UDkM3FWsU6MxBxz 74a81pW/E1Vpv9fhCcJP0/Klaq7jgkoev6i1FyyFtCm/5GcLjw24HdcFjr/gSq7XeXgGE1cqwwnqf 5NMJXu7ezBLjcl/Ikb9r2yWz77B5mmCVj0ly+q4BKlmct2Q238qCsL961etn84kBhbq1chDVkN0+T wBoIkURA==; Received: from mail-qk1-f195.google.com ([209.85.222.195]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1p1-00026e-0X; Sun, 25 Nov 2018 21:20:09 +0000 Received: by mail-qk1-f195.google.com with SMTP id r71so11141640qkr.10; Sun, 25 Nov 2018 13:19:54 -0800 (PST) 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:organization:content-transfer-encoding; bh=jgBOqcDQ+ti+oJHZVWI90YV76F+Wfz4KPjje9/9ZJ4s=; b=rczTFxtWyj1Kk8NYfgqZItaNboBD3iSN22cB0I6b+nQA4ymf9yF2NaiPpZMsPE0Jct HvsTUTH5A+QvDBeDCUDAZjEM1yWeBhnq8NGltd/m28ShpJyeFdjoZvU2beVdNEVMAb76 4XqXNRKUJEmLiUczy5LpbQ7CFR6YWQ/kaqvzZBMw2Cb4ssI9JNFG6zdYEi5tGKHEh6XE oG+WNjDHeHEeAqXv6GWXPACcMJoKV2DHNWZrmzAVkxRZD3WTAmyOaUVJceWu7Vy0If/H /wi+5iTiB8Gnoi1OPpz1CPl/eXJzV1jsqgeWSyOf8c6LAbJdJgSI1ZJtpoRF1aJ9sO6E 6/GQ== X-Gm-Message-State: AA+aEWb+o0S3KveEaj5HshZUelGE0QyBWSbugGoDawWwod7TWkeZSuEG Xm5rLC+SOmcOcTPMbxKhWnM= X-Google-Smtp-Source: AFSGD/XsxB/ItfUXL9rRCVOg+QZKCBOouMRYfFgHRxTLjaAYTmiIgtiCBtuEaJAYxQ+VTO0f5CNy1w== X-Received: by 2002:a37:1909:: with SMTP id k9mr22285856qkh.61.1543180793502; Sun, 25 Nov 2018 13:19:53 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id i33sm28453478qtb.97.2018.11.25.13.19.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:52 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:47 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 06/13] ARM: dts: rv1108: Add GMAC support Date: Sun, 25 Nov 2018 19:19:00 -0200 Message-Id: <20181125211907.9895-6-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_162007_063660_5E8B5B4E X-CRM114-Status: GOOD ( 11.32 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Heiko Stuebner , Otavio Salvador Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add GMAC support for RV1108. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 4f4275599f7a..c7a26f82655b 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -516,6 +516,27 @@ status = "disabled"; }; + gmac: eth@30200000 { + compatible = "rockchip,rv1108-gmac"; + reg = <0x30200000 0x10000>; + rockchip,grf = <&grf>; + interrupts = , + ; + interrupt-names = "macirq", "eth_wake_irq"; + clocks = <&cru SCLK_MAC>, + <&cru SCLK_MAC_RX>, <&cru SCLK_MAC_RX>, + <&cru SCLK_MAC_REF>, <&cru SCLK_MAC_REFOUT>, + <&cru ACLK_GMAC>, <&cru PCLK_GMAC>; + clock-names = "stmmaceth", + "mac_clk_rx", "mac_clk_tx", + "clk_mac_ref", "clk_mac_refout", + "aclk_mac", "pclk_mac"; + phy-mode = "rmii"; + pinctrl-names = "default"; + pinctrl-0 = <&rmii_pins>; + status = "disabled"; + }; + gic: interrupt-controller@32010000 { compatible = "arm,gic-400"; interrupt-controller; @@ -641,6 +662,21 @@ input-enable; }; + gmac { + rmii_pins: rmii-pins { + rockchip,pins = <1 RK_PC5 RK_FUNC_2 &pcfg_pull_none>, + <1 RK_PC3 RK_FUNC_2 &pcfg_pull_none>, + <1 RK_PC4 RK_FUNC_2 &pcfg_pull_none>, + <1 RK_PB2 RK_FUNC_3 &pcfg_pull_none_drv_12ma>, + <1 RK_PB3 RK_FUNC_3 &pcfg_pull_none_drv_12ma>, + <1 RK_PB4 RK_FUNC_3 &pcfg_pull_none_drv_12ma>, + <1 RK_PB5 RK_FUNC_3 &pcfg_pull_none>, + <1 RK_PB6 RK_FUNC_3 &pcfg_pull_none>, + <1 RK_PB7 RK_FUNC_3 &pcfg_pull_none>, + <1 RK_PC2 RK_FUNC_3 &pcfg_pull_none>; + }; + }; + i2c0 { i2c0_xfer: i2c0-xfer { rockchip,pins = <0 RK_PB1 RK_FUNC_1 &pcfg_pull_none_smt>, From patchwork Sun Nov 25 21:19:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697069 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 059F21591 for ; Sun, 25 Nov 2018 21:21:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4FE7298A2 for ; Sun, 25 Nov 2018 21:21:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6E36298AC; Sun, 25 Nov 2018 21:21:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 892A1298A2 for ; Sun, 25 Nov 2018 21:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RcIIdgtP4XJc3akp+OkLJQbt0G0WDNrEmNqXolmREzM=; b=U9/R6O5zhf89Pl t82vWzPv0ryNw3WUGS14HrC4TaIQjx1KSn/75Fkh4Df+6ZHv9VqzEWaeu8M9fDuPqH3960yAZjafB e5f1Zm0GBmwkFb3gSfncTOj9mV4wJsipJhQ7SauArXhIDyt3SxWfBUw7RUAYKNQ/nLwC5v3pTrzaU RzX9QAH7TS0DYZbK6GKpzhVtAjSALYTOaKpFXaZt9Hl8JY+P9rPKH/4tkXnbsHnHcjWHqVNquoVGo RG52Fp5ouN6FYH9PsJUWmZZyjI/bGLDIOsWXUg2p823E+RzzAAiOSZldx+RCs9mXUpDkzITBuVRvo QPGWx62DwdD6c+Hb1N3A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1q9-0005lf-UV; Sun, 25 Nov 2018 21:21:17 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1p7-00045X-S9; Sun, 25 Nov 2018 21:20:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7SWfJkSURyZ6Qaf7kGWrWHvU0n7LYaHMjpAyucEttEY=; b=vYVv5piKjtsxf8T6xtm+uww/He ds0um8LB3C/8rBnzwP+Z97yoqNJ2kPb1VsS2S6KHQCkQ+QovTwJUWXL91HFUbvge4ECuccBfQ5ENX Vo7SEWDN+i3J+7P/Lh0z6TMwXQtbfHFTkHM9dQSd+8Iuw2CnUZaBEwbQ5/iWg0gF1yJMKA9dEPFNG YNTaCeFxY8fRKWWwzn711o8NLYP+X4Jg4XQuthtrqrw9jTdxQe5YpzOC+9HS0mEJsYZthpt6hplsM 97Ucv87NljPv/KCiYUb0MWMLD9QEf2GlsTCW1fm1vPahbiy2gQXnWZmtL947wJuTSfbZXzrqvuIJs u/d2MJVg==; Received: from mail-qt1-f194.google.com ([209.85.160.194]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1p5-00026o-F3; Sun, 25 Nov 2018 21:20:11 +0000 Received: by mail-qt1-f194.google.com with SMTP id e5so15495066qtr.12; Sun, 25 Nov 2018 13:20:01 -0800 (PST) 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:organization:content-transfer-encoding; bh=7SWfJkSURyZ6Qaf7kGWrWHvU0n7LYaHMjpAyucEttEY=; b=lRq8WsXqLBjoTAK8QN9+h9Wt7PfziBN40jiBgo/QgcjBpKqASTEY4tvQ13xWrvN69O rV0D+29dN9V/zC6+kUJBR9bp3lNvwkAbrg7Hf53NK0kMz9GlIG9x/YfSurj/UgQhnQCz IAQd4Rq3o1R2H16LzutLy/8uffSbWaRQa5QXZ2BJtioxLdE/pHBZCPqMpGoTX3t+4pfh jHKqGJPequ2Dq/nIG3GL/bM23VMKD5IRH/ZhDnuAhz1OooRmqrr181X6UmVitHXlyUc2 g65QinHr1CyYBc6PFwS+KPOpaoAj5ONOxRkmIrtvArC3fdoE4RbqnoG4CT7Rz/CxrU3s BYoA== X-Gm-Message-State: AGRZ1gLTVht69haHALz2TRMcZtmHHXqIx1VkEeZZ1gDf/wrt+XYaNLJn uKbtlobCOlJaszfH8QE73LM= X-Google-Smtp-Source: AJdET5cSIJ4Rr5ULc8a6HD1/Tv3Nbc6oouMVL8Zsnm2IUNCoYlnpmE0pZ4SlKZ6t5Kz9NcCt42SsIQ== X-Received: by 2002:ac8:3971:: with SMTP id t46mr22858418qtb.331.1543180800034; Sun, 25 Nov 2018 13:20:00 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id n71sm28469278qkh.59.2018.11.25.13.19.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:59 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:53 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 07/13] ARM: dts: rv1108: Fix the timer mask Date: Sun, 25 Nov 2018 19:19:01 -0200 Message-Id: <20181125211907.9895-7-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_162011_514766_182494C0 X-CRM114-Status: GOOD ( 14.08 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio Berton , Heiko Stuebner , Otavio Salvador , Rob Herring Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP As done in the Rockchip vendor tree and also on other "arm,armv7-timer" instances, the correct GIC_CPU_MASK_SIMPLE mask is 4 instead of 1. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index c7a26f82655b..7b331766120d 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -71,8 +71,8 @@ timer { compatible = "arm,armv7-timer"; - interrupts = , - ; + interrupts = , + ; clock-frequency = <24000000>; }; From patchwork Sun Nov 25 21:19:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697077 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D99DF15A8 for ; Sun, 25 Nov 2018 21:21:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C83BF298A2 for ; Sun, 25 Nov 2018 21:21:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9C33298AC; Sun, 25 Nov 2018 21:21:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4F7D8298A2 for ; Sun, 25 Nov 2018 21:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ygyRnWRBrNvjmt4AKnnKHX2G6Ls80wo2G11fEfZYgp8=; b=EoeREkGuwBRgb4 jSn6PWGxf9i9kyvG8eKt8S+m6i8aFm9zKt+yVnJ/UMnk1Feut0GfOog/jnQolhs0aiWOmNG+jC/JR WMSTcMURTsJljMINV9M0nHBNtz/B50GIj0/tFiZ4RR1cSzKb0A0Vw+pO3/9cVAPJp+/eLjCdCc5sc xqSbD7w3Q4TzmgLeky5Ctx0k/Wic3Ux7UlrR1/NnGBD0FEDmO1V6kdrHgt8MVyvGDaXGVBYHYpaAp fhOohcqWfbtHkYXyj1hFnTxsmhrfZdqtCLjK2M1vJsARygNaSnNDKS3aTMsMaGVrtrUN9MbuwloLn Ogor0dSRYjU79hr50t/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1qb-0006Dw-Gj; Sun, 25 Nov 2018 21:21:45 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pE-0004XV-4g; Sun, 25 Nov 2018 21:20:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nmDsCwmLl9glebqfbdHQbTbjn61d+ZdVRN7Yo+KoZyA=; b=SOE1MYtHLY8tw9H+2eoLd3JVjO mixQ16miuEWdJyq+2Ys6izpXjlGgAf2LeaPcJwTatuNn+tAQcdEwUgvxm1HvYrouZkjfu1p5/dbde /i8XzqbdF+Op20UD1z4CVAPxHemvuvAdcRAS4OWZhqCwBxqQUbhosZpG8gmlWeAWN8ABddqkGchr8 3fhXMePkU86IUV5MOXNm1iF1MdFj0ouTyglqEx2Wou+IPbF0/vFVKsbSdcaWvp/tx9oYum2JsfGJa d8fD7CRGh0+tNl5o65MlFKc5RivkTvB5rkZD5jjQANtMht6jJdyaRY0fo2vV3cmPXavQS69utVKR6 EXEQc5zg==; Received: from mail-qt1-f196.google.com ([209.85.160.196]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pB-000279-LI; Sun, 25 Nov 2018 21:20:18 +0000 Received: by mail-qt1-f196.google.com with SMTP id n32so15470899qte.11; Sun, 25 Nov 2018 13:20:07 -0800 (PST) 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:organization:content-transfer-encoding; bh=nmDsCwmLl9glebqfbdHQbTbjn61d+ZdVRN7Yo+KoZyA=; b=bZcJ2FT5zaUMot0Dk3qb22Gesk1WOWkz6k6r++P8/AcpksW3KLhifAQiDXVNk/h4hp ZNDIXn63J3XGBxAANaz2xBhS8b8YnE1lF+FgBFI7h31ThwMUHBXte12Epw1elqE1q6iI exU5l4HIvj8Bi4YJFPrV4UN9o5nzsY/9YBAU5jNwZgSNT8XLnIZCfCPrWEaKS5s3pr66 D2ze3tx+wHolr4fHkTT7QoHEAV8XJlDenFKY0dDRtaOoB8MD4qq4ex0FBZgBbK8qmUBb TuNtxFEo3QFN1KOB2zW+osYDzdBFrO3falHh9lr+7ne5u+CWmRJPbSOa7NVcAYotkaAW q0sA== X-Gm-Message-State: AA+aEWagspX+ffXffouJXmBjbrPZkrO5AGhbRC795exrKyWdkdot/tY1 W8b39+PXQs0IXxtEdouc26I= X-Google-Smtp-Source: AFSGD/XznogjlgsGgEQZb8x/jbClRWLqDhe9tcidG+VeB3lKjiakl0UsP6s5RGUlVUA3cpr9yRu6Vg== X-Received: by 2002:a0c:f8c7:: with SMTP id h7mr23765681qvo.134.1543180806752; Sun, 25 Nov 2018 13:20:06 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id v186sm15358914qkd.13.2018.11.25.13.20.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:06 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:00 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 08/13] ARM: dts: rv1108: Fix the PMU interrupt number Date: Sun, 25 Nov 2018 19:19:02 -0200 Message-Id: <20181125211907.9895-8-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_162017_705540_AB7F97F3 X-CRM114-Status: GOOD ( 13.86 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio Berton , Heiko Stuebner , Otavio Salvador , Rob Herring Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP According to the Rockchip vendor tree the PMU interrupt number is 76, so fix it accordingly. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton Reviewed-by: Tested-by: --- arch/arm/boot/dts/rv1108.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 7b331766120d..442b749eb2e9 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -66,7 +66,7 @@ arm-pmu { compatible = "arm,cortex-a7-pmu"; - interrupts = ; + interrupts = ; }; timer { From patchwork Sun Nov 25 21:19:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697083 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3FDD01591 for ; Sun, 25 Nov 2018 21:22:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EE7A298A2 for ; Sun, 25 Nov 2018 21:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2331E298AC; Sun, 25 Nov 2018 21:22:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CAA65298A2 for ; Sun, 25 Nov 2018 21:22:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L/4PMpBdn0LUvUxXTLT4fTBJBVp4qWHpRL8Ab/29rjw=; b=G0V7sQtCN42XVs mo4ts15WTFtV3zbAPmzTbdR9xvmDiVNZEtuoUN0ZeF4r0ulIPsgiXOtF8sYdps2XTMwNku1XNTKAT 2m0B0Q6BXaQ/GcsabSy4MTu2xH2BV+uiCkyT5nb/BH49eDcdCI7Z6K4cacoMjqP8nrO+oDRQLiuL0 iLzLsMpXma3X+Y7uTYZnR323S9gbmfS+dOP1jlM64JtR47+hQnvmrz/vIbgZt/LV0OmOy3fHj7NLU Pv3a7ZzRyhyk/c9pvanHHcFSudDPfNYUgHv3FMhge8E5oRa3I39UVNtLOpAC0tb6E2oqXvr0aU9fi QQ7TXmJwAkKzI8QixSWw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1qu-0006Xg-6V; Sun, 25 Nov 2018 21:22:04 +0000 Received: from mail-qt1-f195.google.com ([209.85.160.195]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pI-0004C8-Ej; Sun, 25 Nov 2018 21:20:44 +0000 Received: by mail-qt1-f195.google.com with SMTP id p17so15474073qtl.5; Sun, 25 Nov 2018 13:20:14 -0800 (PST) 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:organization:content-transfer-encoding; bh=bMDavPfWrsM8Ixn5Bu+GWFh5dhTnsIk63iyZIoNG/qM=; b=H8Y3J8k4Mfz3bwx+86Bp7kEiKcuUuRCpSqDDpXIeBUrwlyoZ8ZAD24cwGJULQSW2n9 uyJZSmF7YTWzKHMYWTwSe+oDC/8tXRUjxRyRu68whLJLYakw278I4eflWY/U4kSxkH5v GkmHtJRpqD/Xzfxqtwcza4xIIh+O5DMoWrFw2/okYyjz/qkB5PyZN/KBCm2NM8j+Mxsg 7fPzO7rNU9AJS2PmRR17/VaTMFM5GJaaLlRVTRA99eymySLeCJ9D0UKZ4LjkAJ2WUAn6 DPfQX57hgIt2J6FejnpEPZXxqCmKLTX4mpOKpNVHqTjlNXsv7zZD+jhSUwZu1Qyf6WYk PYzg== X-Gm-Message-State: AGRZ1gLg4Zr1a1JXQrZYHzhx7ghlUpNRrTZyNPnr3We1sitY/U5cSeSO 6gV/OQjKbwH5XfdpZ/btHPY= X-Google-Smtp-Source: AJdET5ehrnKYNl92IhKGQXm06BE4lEDzBj7bTgKraracbc8A57IERLFnKl8nlx2UJZ9iRsYTMS7RVA== X-Received: by 2002:ac8:5392:: with SMTP id x18mr23058268qtp.299.1543180813485; Sun, 25 Nov 2018 13:20:13 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id j95sm27438526qtb.74.2018.11.25.13.20.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:12 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:07 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 09/13] ARM: dts: rv1108: Assign the proper GPIO clocks Date: Sun, 25 Nov 2018 19:19:03 -0200 Message-Id: <20181125211907.9895-9-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_132024_762139_F8692596 X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio Berton , Heiko Stuebner , Otavio Salvador , Rob Herring Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP It is not correct to assign the 24MHz clock oscillator to the GPIO ports. Fix it by assigning the proper GPIO clocks instead. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 442b749eb2e9..ce5509c4657b 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -562,7 +562,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x20030000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO0_PMU>; gpio-controller; #gpio-cells = <2>; @@ -575,7 +575,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x10310000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO1>; gpio-controller; #gpio-cells = <2>; @@ -588,7 +588,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x10320000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO2>; gpio-controller; #gpio-cells = <2>; @@ -601,7 +601,7 @@ compatible = "rockchip,gpio-bank"; reg = <0x10330000 0x100>; interrupts = ; - clocks = <&xin24m>; + clocks = <&cru PCLK_GPIO3>; gpio-controller; #gpio-cells = <2>; From patchwork Sun Nov 25 21:19:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33CE21591 for ; Sun, 25 Nov 2018 21:22:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2235B298A2 for ; Sun, 25 Nov 2018 21:22:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 16B1A298AC; Sun, 25 Nov 2018 21:22:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B22CF298A2 for ; Sun, 25 Nov 2018 21:22:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OoW2pPtB4DS0gWBiBvYZpG525h4spH3XoIISXMy9WVM=; b=kaM9W/eBNfah6C sayTCTNLmBtMJsDsm3sp89M5TMik1OcqZTtJxqEyB2ysxMs+O5c41wVJqU0THZn4Zx5mzRme/lqAx cLyFzxZfg8vRRYmmLhDdoAwIg0sGx4i5pCP+w3PRV14qK75vt+8MfixpluxE0EID49zp8VxfhhYdP p4U4/RD52TGTMiNxQD4fxToFTbVsk7wPGJMtw4L18jL93QbBKtXuZtFuUfsVQIekUZnd1CQgAAJDJ E0J9wqt7HuGtDNQgtEPNG9z4KC49uUeguhttFy9xdB4iYlClsaWD9GoII1qJtT0kTYv2h6HGcDj8b QxudXnKeb/eb1e5aa8XA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1qr-0006V8-TT; Sun, 25 Nov 2018 21:22:01 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pR-00053H-B4; Sun, 25 Nov 2018 21:20:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=0I+uWKN4GS3+l65NpqS0JmEUsO4byaMbcY6AlhK07H0=; b=eVpu3JW1cEM0niw/dDf1f9gq86 yygnG9TrvwqVVlqYD0aDVhe5rBAD161eiNVlI/Yd+7NXaPZsU7ZSZd0BdBZlzTQ9uJmSJxR9J5vd3 MrcUEFgiynYpH7zap9/aFGZTzlG4xS0CjLyCjPXXQ15rbPqqOso5I5AQCFVCod/cT3kpCMYgM08FX aDXt9sLLD5zv5G31OR2aTKj5gR+LgULnqAzSsxA1mA5Vtu1Ud2GP7a/4E330F1Akcah1xADI4dkB0 n7kEybBgnCKYVJhUAjFulZ4ZI0GEumKRmDD/4KeasE7uGCQ+Uxs4WUtBpb5/j2L9n+GoVOUJLHRj7 zL/iOwpw==; Received: from mail-qt1-f196.google.com ([209.85.160.196]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pP-00028G-0T; Sun, 25 Nov 2018 21:20:31 +0000 Received: by mail-qt1-f196.google.com with SMTP id y20so15473893qtm.13; Sun, 25 Nov 2018 13:20:20 -0800 (PST) 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:organization:content-transfer-encoding; bh=0I+uWKN4GS3+l65NpqS0JmEUsO4byaMbcY6AlhK07H0=; b=S5SxajN11nt/9yOn7NKAx2UiXy5YOZWIqqibO5iE8iJn3zx0hIXxWCXvAJpia65SYY j2friCFYAsQZ9LygZz++bQk7Zbud4VYhLIaODQw91+tNp10vS3SrRizMdz86ejwmVU5X hJ2zZDfqS7G1GUVUXciBe8qvBf6wsbI9CwubUBremyhhgVG3moPWd1L45yW6F9jBWE58 v5SM6eA8sOmXanTmtpKwbFx0kCzv3L2IQg2rSQEkUWh6zGFJnM+PrjOQgwaddDOp8YPm sVWGuuUw8Pe9IilNz2FY8KDZLKoXCsYte6VOA0jz5hoKYiII+z/JmDT21btQjnEsewdo ozoA== X-Gm-Message-State: AGRZ1gIa21p/R+nf/nEJRAD4FkHkAMCgI2y8b0zj7XCPx+lV55oVsorb FES2dka/5Dgj9IprvxuyOJg= X-Google-Smtp-Source: AFSGD/VyrfXG1zCyouLtc+1trJ7a4jJe26htoOZVOqbegObwHN0OYxggUWdpxqj9LnAD001l+l+ulA== X-Received: by 2002:aed:3fb1:: with SMTP id s46mr22756161qth.208.1543180820330; Sun, 25 Nov 2018 13:20:20 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id v32sm32303696qta.37.2018.11.25.13.20.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:19 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:13 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 10/13] ARM: dts: rv1108: Add UART DMA support Date: Sun, 25 Nov 2018 19:19:04 -0200 Message-Id: <20181125211907.9895-10-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_162031_064084_8D087BC6 X-CRM114-Status: GOOD ( 11.07 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Fabio Berton , Heiko Stuebner , Otavio Salvador , Rob Herring Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Pass the 'dmas' property to the UART ports so that DMA can be supported. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- arch/arm/boot/dts/rv1108.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index ce5509c4657b..7ef6d965871c 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -114,6 +114,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; + dmas = <&pdma 6>, <&pdma 7>; + #dma-cells = <2>; clock-frequency = <24000000>; clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>; clock-names = "baudclk", "apb_pclk"; @@ -128,6 +130,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; + dmas = <&pdma 4>, <&pdma 5>; + #dma-cells = <2>; clock-frequency = <24000000>; clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>; clock-names = "baudclk", "apb_pclk"; @@ -142,6 +146,8 @@ interrupts = ; reg-shift = <2>; reg-io-width = <4>; + dmas = <&pdma 2>, <&pdma 3>; + #dma-cells = <2>; clock-frequency = <24000000>; clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>; clock-names = "baudclk", "apb_pclk"; From patchwork Sun Nov 25 21:19:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697085 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A071915A8 for ; Sun, 25 Nov 2018 21:22:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8ED7E298A2 for ; Sun, 25 Nov 2018 21:22:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 834D1298AC; Sun, 25 Nov 2018 21:22:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 36100298A2 for ; Sun, 25 Nov 2018 21:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5kw6kGRYNOXbKuvrp1LggAOXaMSwE+fVT+/A0TdQ2BE=; b=EUie7KSQjEG52O F3O3Gjt3u+zlqAPIjF+4m0/w/S/2lehbEDo7fMvLYyoBnL6bF/oYM4GqmaG2Ip4R26/pLo7W7Sree a2+i4M/51BiWaJVm0gPiYDp6YcD5U8mq+6Q+N6MQdFc8R2za4eDb9WvO+4A3EUTwYz6tbzKznF8/L 73kAxWCIHWIv0asevgvIdOH6ChsjP3QASM4c7850dzRuFfofgUKaey7B9NLqP5B4UJH9vjupO1ePM mzu0PuYvFiY71fPydnd5pyqPyOovJ9yHuMGtbvNl/BUqCRqBzIMYf3W6WQgcudM8ZxU9TC+2JVo2W K+lgutUm3+khRSN9xOuw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1qw-0006Zs-Ep; Sun, 25 Nov 2018 21:22:06 +0000 Received: from mail-qk1-f194.google.com ([209.85.222.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pW-000519-3s; Sun, 25 Nov 2018 21:21:01 +0000 Received: by mail-qk1-f194.google.com with SMTP id 131so11179296qkd.4; Sun, 25 Nov 2018 13:20:27 -0800 (PST) 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:organization:content-transfer-encoding; bh=bup91yDRXOC8SzCQPUHpgYvuVu+1L3rRb7v7DMoPavc=; b=jT/D7wjBlEWUAla2aBBNiv7S+H9f+T76jVzp7sEep+TQKRrFTdUJxoihUyt0JdK+/k S2ybtVjLG/gwUbpFvmq1bL3N3XymkH9+LSkaIhzkkEEf/fSdE1q+cz/rpBOVmVJghyyo RdeCHnvzukKSBHb9/QhpCjr0XUrVbM14Z5KcUcOcZ1hs4YhBk2MS6LX4Pkp+9UgYV6C0 FWrgGAOp12PqhtRKlMlCKhI+GpMGlT1KTilSx5Eice1pezdAFV6HFcIca0AgTnerLQ8D lQ4PW6dLw40L+a7gVkJLEB2TxQ09Y78csd+y/LrQHtwqQr+R0Di879okMLvP1vXoXWZr xEaw== X-Gm-Message-State: AA+aEWYqE+EHmhDQ+B6l2IkR3sacfL/m+0eR8yqF7Kg2HND9YfROTpTa G340aItcZ9C4efg3+JWo9xI= X-Google-Smtp-Source: AFSGD/WjUeOhJqN7McOiIVsb+gcNYtv/IoEfuxJQgDTfZR9zoty7Yn8gp06HH66azZ6S0sHcXv/N4g== X-Received: by 2002:a37:688c:: with SMTP id d134mr22696183qkc.57.1543180826716; Sun, 25 Nov 2018 13:20:26 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id c49sm21741197qtc.94.2018.11.25.13.20.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:26 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:20 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 11/13] ARM: dts: rv1108: Add internal timer support Date: Sun, 25 Nov 2018 19:19:05 -0200 Message-Id: <20181125211907.9895-11-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_132038_867367_E010A691 X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Heiko Stuebner , Otavio Salvador Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add support for the internal timer peripheral on RV1108. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 7ef6d965871c..42566adadc83 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -291,6 +291,14 @@ }; }; + timer: timer@10350000 { + compatible = "rockchip,rv1108-timer", "rockchip,rk3288-timer"; + reg = <0x10350000 0x20>; + interrupts = ; + clocks = <&xin24m>, <&cru PCLK_TIMER>; + clock-names = "timer", "pclk"; + }; + watchdog: wdt@10360000 { compatible = "snps,dw-wdt"; reg = <0x10360000 0x100>; From patchwork Sun Nov 25 21:19:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4A1D815A8 for ; Sun, 25 Nov 2018 21:36:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39E5829704 for ; Sun, 25 Nov 2018 21:36:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D6F229863; Sun, 25 Nov 2018 21:36:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CAF3829704 for ; Sun, 25 Nov 2018 21:36:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=88Y5brfk7wI9PuoTk619I9NZkhaSBN2sihaWsq2XeP4=; b=q0JxSYkhHzxkWu qrr8za6Y0lYHtrpNlbe7T9zEX1cH2S3NhpXvP1bkPvfDXbzlZTvYbHM9G+n06IXdShM1GDO42U0/K e0J+pTpupsXL2IRV3L+iETg3nKIouBs2YGzL8cGOnHrDBz/J6xKdQHixLVncM9O0NRpYTq8O4JalA 7DNuNJWDp9A82aVVW4deuMEpsExD21qG2Cn0ffuN1y/05TRuAtC2DMdU/DUpvHYg7kV2GD76TsbS9 4OlKimmPnE9WWraCwRHBg2dLYKeuORWZ8eVBp5zngWjR4qdrMAYO8crZW2E8iy6y38+xY/nvW2dKD Kq9Obr87KGxxAzFPu4XA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR24U-00058J-S1; Sun, 25 Nov 2018 21:36:06 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR24C-0004d7-Qe; Sun, 25 Nov 2018 21:35:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZDypF2pq0BfQj2VKHtaavUm6fErKIQMxhSKq0uDr+7A=; b=SKvkVEZlathlyAdJhlkKniIwLp 6yQ7+jxtuxRIuotkQ7FjeYsjy00QREEkwglBIEMw8o94CAEXTX9TVRj5tJDqZuTT+WE/iMXULZJrn Y61/GpTU8pBhZeD9z0pt6Blt3mTnN96hhWjSgHqIHtU7WaF3uzlxqP0klHfJzL4hrnOWBOKpdyw6D lJn9PoLJ9T/uu/ENL4TxM8hSHl3nariLVHczPeLHkqJlJnbcMPaXibGC7aMbC9zF5uybGzlJH6q7h RwnaYCDGiIO5kGZDUiweZoBuCb4JTXdEGfZ4xEt3aqdT/2KofcrjQBDFXe4wIVh2WCBkjnKcdHLwR MwhMmd3Q==; Received: from mail-qt1-f193.google.com ([209.85.160.193]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pc-0002yH-QU; Sun, 25 Nov 2018 21:20:46 +0000 Received: by mail-qt1-f193.google.com with SMTP id l11so15522499qtp.0; Sun, 25 Nov 2018 13:20:34 -0800 (PST) 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:organization:content-transfer-encoding; bh=ZDypF2pq0BfQj2VKHtaavUm6fErKIQMxhSKq0uDr+7A=; b=CL9VzAx06S98Dr/RbVGa6F99XZRX1i8XqEW6cgjJlJHlUXG9NEb1ybfc4RbBOYe8fk xYef+Wh+lk+ijP0PQXYZk7URb2sYQFV89ZDmsrsiyCyynkD4TTKwLuMRiyU5+SFcnXjl Bnr7SQu+KvKn12f63cW8p3v7UcN3U48fKiSqOBz42n1NqQiZMyN49pGwl/V81l/7o6xu 8CL/TyZax8+AYu1eWyE7dQjvYYLrA1U9nT9WRDjwXE+lxvopTx507r1Hg/r41bjVNr7y fRiU5tibDbSB5q9cv9IQBy++0FW8L41piTqq9mu5XIw5UdLtvpLDkF86u+OBikg+pNbD b9cA== X-Gm-Message-State: AA+aEWb1YYeeUFNzIbrV0CdoOKdeYydNtAi+ydQHMtAtAQ1bBsBCDnYk 5hWYccIWTAFYOoQDx7eXAl8= X-Google-Smtp-Source: AFSGD/UKNT/31P8C5rOjcI3MCsK8x9lu99rEGVQmp3O6diEAHNafuE+AeofeOL18zPZDBruObHguXg== X-Received: by 2002:a0c:c2ce:: with SMTP id c14mr23989867qvi.7.1543180833092; Sun, 25 Nov 2018 13:20:33 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id o48sm37912198qtb.87.2018.11.25.13.20.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:32 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:27 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 12/13] ARM: dts: rv1108: Pass the 'arm, cpu-registers-not-fw-configured' property Date: Sun, 25 Nov 2018 19:19:06 -0200 Message-Id: <20181125211907.9895-12-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_212044_845705_79AFC327 X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Heiko Stuebner , Otavio Salvador Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since firmware does not initialize any of the generic timer CPU registers pass the 'arm,cpu-registers-not-fw-configured' property as suggested in Documentation/devicetree/bindings/timer/arm,arch_timer.txt. This also aligns with other Rockchip SoC dtsi files. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index 42566adadc83..d96c58728b28 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -71,6 +71,7 @@ timer { compatible = "arm,armv7-timer"; + arm,cpu-registers-not-fw-configured; interrupts = , ; clock-frequency = <24000000>; From patchwork Sun Nov 25 21:19:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 10697103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 35CAE15A8 for ; Sun, 25 Nov 2018 21:24:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24E1629494 for ; Sun, 25 Nov 2018 21:24:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 18EE529585; Sun, 25 Nov 2018 21:24:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CAB1529494 for ; Sun, 25 Nov 2018 21:24:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zdv8V35E/1CnNwl8XbG2CXedX++GAY1saL9Bm1s8Cn8=; b=K+2wRt7XyBVvvw in9BuFVR5CHbZfG3/w3wxvQd4lkO6QLwA9Fu7NcQOkXJ14C5MeIFkYqc6OSfpHjNbfOsbHLY+LSwL s4MpCDacb0ZAYTDZh1z11E03jVlh3WXjqW80HF0lyVVz6qO5+Un681XhvlQA1HjlZUBqsLIV1e8M8 UYwbEEYhjF87J42ByOFKg4i6kelFtXSnzjIDOvijEZlDvN2k9QX0Xq2M9vbnXUHWt+vAFl2ijJkgS OYBU9w51KcahTqHQw/ZzD75a6bZbcZgpj52+b2keImsejMdaFACSCHZ3loSaANGLU+56IOTO/4i2e JmLJ7bTyRyAnMeY1nWUA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1tF-0008Mw-Ie; Sun, 25 Nov 2018 21:24:29 +0000 Received: from mail-qk1-f193.google.com ([209.85.222.193]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gR1pi-00057N-Vx; Sun, 25 Nov 2018 21:21:24 +0000 Received: by mail-qk1-f193.google.com with SMTP id y16so11161383qki.7; Sun, 25 Nov 2018 13:20:40 -0800 (PST) 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:organization:content-transfer-encoding; bh=WrZMaEwK+qqhej5rT5SCoYL2J82qPkRCdLSV10MBDsQ=; b=GNEIQXN2YcY3fzlB1+1w18HQhD63+j54LGgG7Qm0VCEvKw8J08ahc7LxZGcfhsJ/qi 4GNE3+FRk5E2dqIpQOfsRB0B2LLTMQ6XW1fzG5OXN9zOUcWDga6ZOx0rKKXddKiWzS9Y vF04zwL6K2JXQh80iCTUdPEB8MWVhtyPBMk2UsI+Nvswz/qnewfNfHAm3C6n0/HjJRUH +yn2bOdeaq+okWSvaTL6V5nTMRAVgNE4d4LCq7Zf/aiuhhi1UZgkAkISrA/HFbKdGh1y S/EmcxxJmF7XKmr56/UnJfD1iqhXFuvygAd8srkQCrGVidnAnS1psKaSepFyD0998fp7 IvrA== X-Gm-Message-State: AA+aEWaQthXLuKaPNk2EO81yyNuErXTZxFwu4W5LbSCTY0qqTxqD6i4/ lQLQE5AUtSkvkEnip/yXJsg= X-Google-Smtp-Source: AFSGD/UMveYcdPGPJ2TjwxEIJ5rXOvQe69MSVlyFd1OPLEitqt4gZTsD9pACHv4PT7iBY3fpnlCjYA== X-Received: by 2002:a37:aa91:: with SMTP id t139mr21948440qke.139.1543180839515; Sun, 25 Nov 2018 13:20:39 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id p75sm32514937qki.90.2018.11.25.13.20.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:20:38 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:20:33 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 13/13] ARM: dts: rv1108: Pass the 'clock-latency' property Date: Sun, 25 Nov 2018 19:19:07 -0200 Message-Id: <20181125211907.9895-13-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181125_132051_912483_E726667C X-CRM114-Status: GOOD ( 12.60 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Rob Herring , Heiko Stuebner , Otavio Salvador Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Like it is done on cpu nodes of other Rockchip SoCs, pass the 'clock-latency' property to the CPU node, so that cpufreq driver can take the latency into account when switching frequencies. Signed-off-by: Otavio Salvador --- arch/arm/boot/dts/rv1108.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index d96c58728b28..4e1ca13a1636 100644 --- a/arch/arm/boot/dts/rv1108.dtsi +++ b/arch/arm/boot/dts/rv1108.dtsi @@ -36,6 +36,7 @@ #cooling-cells = <2>; /* min followed by max */ dynamic-power-coefficient = <75>; operating-points-v2 = <&cpu_opp_table>; + clock-latency = <40000>; }; };