From patchwork Mon Jun 15 09:02:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604373 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8C2F14DD for ; Mon, 15 Jun 2020 09:05:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 62C6C20679 for ; Mon, 15 Jun 2020 09:05:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t2XkESsi"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kVuMZFhP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62C6C20679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=JX0wQflHI+FzKRaJMxJfbpDpeWbsxlAxSHEO1qysAjY=; b=t2XkESsi/4xfa8 mV6oRW16idavWdnxMwk+ZU9VH9LINKPYt3ZWDNjRW5rNvNqODSOpLaKlRSv4xodhDxovaj8OleX7s GiwcH8zmr1EtBzC0HU75kvr3TfvJnPUObnRa2OZrF7bechH76BDco2xBpKIfy+1m/fYz95c+IbQbu iIAoduH2ffqYO7fHd9v5RUeRVD7sXOZL3m7aNW8ybD9NRVYT/drs9tCLyH3R5XVP6oI3gzWHMTBZ0 HMFAfE6BLBBn+WZS0ZUjqjNMVB4WVGweGnHKUobOCbO+R1fuXahK+o/E2GnY+m9jIE3cKxjE0ZJEE i5WEMrI0F7EpGCtqd9EA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl3h-0003Lo-4t; Mon, 15 Jun 2020 09:05:37 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0n-0007c1-Ga for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:41 +0000 Received: by mail-wr1-x42b.google.com with SMTP id p5so16216097wrw.9 for ; Mon, 15 Jun 2020 02:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lxtS6lu0f1MMLwKbznbg5Hfidh6dQZlR1AKoD5Erw7s=; b=kVuMZFhPf1eo0U8vCNXGm7zlLb8iILNdRoWQUK0PpgciaCkk9S4hRY2XGvR4TZrSS2 cWdLycBE9fSWJCUlw3aTVh5DBCHjApSCmSKbfaQKPlOAtqTX0dhYjKZQ3g7+4uFcd7cd eKgnobWDv8jMxvqHxNFHRa5EkEcjewWAUg6astihL8ZN/2Rhv0fmSaxqeENuAW6a8K0K 7MvjcLDgH3NH5K5xuG9+WGlV2hWOtaKpn2vBOz4r2Vu4LnGaOO0ga3WS+7koWc0EBsA2 b10V6FBj9Ur2SjDaxjt5RKxVL3sqDmxWpMen65JYeZT4tOAkxKlOk8/SMjdaiqxKwzPJ FAaw== 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:content-transfer-encoding; bh=lxtS6lu0f1MMLwKbznbg5Hfidh6dQZlR1AKoD5Erw7s=; b=b5SxQ/Tf7lJQxPCmRcb+ZUsWVhM+gmEwu2k/edRjuy5SdxLFPzhQTHN3cnjHyPmFF2 RTDUmH/ahpN7oWN8hP3oGlULe+UBSZK6gBP/rMOkR45tXAUs5+bJdLrHbUcKv5UWf1q1 MIRqfQcK1tWGtOBBlPREuroXfD05Q9wKdqbF4uUHccu7hdVds9L5QFuuyHz++z4+OP4W wFDSRYQO1xn7tW9Z9D5W85QBoPlT+ZEz8zaAG7eLMq+NVYljyzlz+h4OBDQbtMk/UfUR PGsJ7T0r0KB9CZbofiMT1XM3WcnT2XaSKFwyi7tzxhrO6c9TnCJX+osRo5ig65bMMeA/ vMYw== X-Gm-Message-State: AOAM531yDikRgNy26Z3MbOmYMTl6/c24MWeSHCnEc/bMlht8IMfLlq5K x1cxp1xIkHwQaDb2e1I5roI= X-Google-Smtp-Source: ABdhPJwX/v0DIrobFoOX5TTFCQKPVL3VkIg/tzqckNaoCicn6Be0G8N7kP9EqH4u/fda7T9ws627Cg== X-Received: by 2002:adf:82c9:: with SMTP id 67mr30210524wrc.149.1592211755931; Mon, 15 Jun 2020 02:02:35 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:35 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 1/8] mips: bmips: add BCM3368 clock definitions Date: Mon, 15 Jun 2020 11:02:24 +0200 Message-Id: <20200615090231.2932696-2-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020237_595380_0533350E X-CRM114-Status: GOOD ( 10.81 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:42b listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add header with BCM3368 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm3368-clock.h | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/clock/bcm3368-clock.h diff --git a/include/dt-bindings/clock/bcm3368-clock.h b/include/dt-bindings/clock/bcm3368-clock.h new file mode 100644 index 000000000000..74a7382f77b8 --- /dev/null +++ b/include/dt-bindings/clock/bcm3368-clock.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM3368_H +#define __DT_BINDINGS_CLOCK_BCM3368_H + +#define BCM3368_CLK_MAC 3 +#define BCM3368_CLK_TC 5 +#define BCM3368_CLK_US_TOP 6 +#define BCM3368_CLK_DS_TOP 7 +#define BCM3368_CLK_ACM 8 +#define BCM3368_CLK_SPI 9 +#define BCM3368_CLK_USBS 10 +#define BCM3368_CLK_BMU 11 +#define BCM3368_CLK_PCM 12 +#define BCM3368_CLK_NTP 13 +#define BCM3368_CLK_ACP_B 14 +#define BCM3368_CLK_ACP_A 15 +#define BCM3368_CLK_EMUSB 17 +#define BCM3368_CLK_ENET0 18 +#define BCM3368_CLK_ENET1 19 +#define BCM3368_CLK_USBSU 20 +#define BCM3368_CLK_EPHY 21 + +#endif /* __DT_BINDINGS_CLOCK_BCM3368_H */ From patchwork Mon Jun 15 09:02:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604375 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 64BEE1744 for ; Mon, 15 Jun 2020 09:06:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4226B20707 for ; Mon, 15 Jun 2020 09:06:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="IE5/VFDy"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V9GLQDL3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4226B20707 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=YruPaAL82+DC25Sq5UmUfcSbSYwn2TPg4RoxOqmUfeE=; b=IE5/VFDyJntoUH MKMFqIkATVmEwqWt6+11rRGmFsiXN6H/jZ6UX0A2+j6XOXpAYu4yQHSVTdcN9Pk9vSevUpgPYH1p7 3iDN1k2meaqfw7Q8rwjrQBKdiziDGz16E5/chJPV6S9JRtlBj2dTxqPSW37eWX8HjkFXIUayyWKlb 6LG/VxLYHFd2w5C7G7vlxO6U+JCNangDet6ls8/Sd+QlgIMp5Tbi+z1omeYPYlmhN1KDjmQ0HqEma XUjjeXx4ttV0uMNkbVt1L/FLiCCyoaXDihYZl5atpQJTAHC6epAr8lCEFcvAhEQPhUHGTwG9lsZM7 XV0Tq9V9o6KDtjgusmBw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl41-0003aq-Lv; Mon, 15 Jun 2020 09:05:57 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0o-0007cn-NY for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:42 +0000 Received: by mail-wm1-x32c.google.com with SMTP id y20so13980495wmi.2 for ; Mon, 15 Jun 2020 02:02:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BfSpJilVz5MBdXnFVVixX+VqMK8O5L3P9Oe2sInGfUM=; b=V9GLQDL3wjU9TOCgzcvu6TCUM+VKlkblaqX4gJ7pP7t2m+Sm0nPsply5hEji1jR934 NUhC7XMASudvtIebY8xfTrpCa2xpBRX5+t8rcc3RxWhQDIE2/rNLs4FgKmpcy3fWJNVn XVavyZVGbTQH90sZCreABuwre50CSDStxcvC+keG4gG6Nitc1X1MTxgVNaXU7FHBGly+ Qh0PNOC9//LzzLdQKnZyRsyhdlOoUUwIwBRfCpEZcj/lWfJtL8mtYQ7HPQ8F8XOVuGI8 W3NXoFKEYk0ei9O2l4cR9st7Cz6V6GCeLm3ALcwI7mfJc37BpYvNgSdbr6Yx82yo5BJI pxnw== 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:content-transfer-encoding; bh=BfSpJilVz5MBdXnFVVixX+VqMK8O5L3P9Oe2sInGfUM=; b=LbwAkvKYnOVRiPso4puc5DQGDHScrepOu66zVMcs0hsa3s1JQttjTmbHh+hasYCquC Nbo6i2KolqyTvhSSiQQDuoSFmdS+n8BFhOToIn3ZkILkn74ym/6+/mu1W04nNr/qeCdq RglT7a8sjtA4hx2jHqExT0DLfuzpKUgxTOxHuIf8e5fCGxbM67nzYxlb305kX5Z5WIPA wQVq6BjOa/GzuhOD0mkRTcs7yjcI3mu2a2ZqaWdt7GlZQFSatFXz+D7DVUh28QwA/lk2 vgfLgjfhz0tO5BOKHQaPc0K3ogoEIcLSdvr4oc7u7446pAkwXYwMYKKIbnSzkta91GCn /gGw== X-Gm-Message-State: AOAM533U3UCMwttewj2hlCaeulUoYgOYglGkqGXX+JB2zhKd4aiXz8k1 +/drhkadCkex2KobE4mZcDM= X-Google-Smtp-Source: ABdhPJw+jc3rlKaMwpSlxfMFAU48Fr+Ju6bjKOG9sAgPzoyaLt5Rasi5J4H9aIUviEWunmnThUtH9Q== X-Received: by 2002:a7b:cf06:: with SMTP id l6mr11958504wmg.63.1592211756856; Mon, 15 Jun 2020 02:02:36 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:36 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 2/8] mips: bmips: add BCM6318 clock definitions Date: Mon, 15 Jun 2020 11:02:25 +0200 Message-Id: <20200615090231.2932696-3-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020238_794971_7314DE60 X-CRM114-Status: GOOD ( 11.09 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:32c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add header with BCM6318 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm6318-clock.h | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 include/dt-bindings/clock/bcm6318-clock.h diff --git a/include/dt-bindings/clock/bcm6318-clock.h b/include/dt-bindings/clock/bcm6318-clock.h new file mode 100644 index 000000000000..c4417f8983ab --- /dev/null +++ b/include/dt-bindings/clock/bcm6318-clock.h @@ -0,0 +1,42 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM6318_H +#define __DT_BINDINGS_CLOCK_BCM6318_H + +#define BCM6318_CLK_ADSL_ASB 0 +#define BCM6318_CLK_USB_ASB 1 +#define BCM6318_CLK_MIPS_ASB 2 +#define BCM6318_CLK_PCIE_ASB 3 +#define BCM6318_CLK_PHYMIPS_ASB 4 +#define BCM6318_CLK_ROBOSW_ASB 5 +#define BCM6318_CLK_SAR_ASB 6 +#define BCM6318_CLK_SDR_ASB 7 +#define BCM6318_CLK_SWREG_ASB 8 +#define BCM6318_CLK_PERIPH_ASB 9 +#define BCM6318_CLK_CPUBUS160 10 +#define BCM6318_CLK_ADSL 11 +#define BCM6318_CLK_SAR125 12 +#define BCM6318_CLK_MIPS 13 +#define BCM6318_CLK_PCIE 14 +#define BCM6318_CLK_ROBOSW250 16 +#define BCM6318_CLK_ROBOSW025 17 +#define BCM6318_CLK_SDR 19 +#define BCM6318_CLK_USBD 20 +#define BCM6318_CLK_HSSPI 25 +#define BCM6318_CLK_PCIE25 27 +#define BCM6318_CLK_PHYMIPS 28 +#define BCM6318_CLK_AFE 29 +#define BCM6318_CLK_QPROC 30 + +#define BCM6318_UCLK_ADSL 0 +#define BCM6318_UCLK_ARB 1 +#define BCM6318_UCLK_MIPS 2 +#define BCM6318_UCLK_PCIE 3 +#define BCM6318_UCLK_PERIPH 4 +#define BCM6318_UCLK_PHYMIPS 5 +#define BCM6318_UCLK_ROBOSW 6 +#define BCM6318_UCLK_SAR 7 +#define BCM6318_UCLK_SDR 8 +#define BCM6318_UCLK_USB 9 + +#endif /* __DT_BINDINGS_CLOCK_BCM6318_H */ From patchwork Mon Jun 15 09:02:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604377 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 84931913 for ; Mon, 15 Jun 2020 09:06:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 426D920679 for ; Mon, 15 Jun 2020 09:06:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QWwnLnHf"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EZLjJlVC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 426D920679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=2JsMVEKMfhpn0tNZblQFE/m/+ssTwYSqK+pwPf7Y0zM=; b=QWwnLnHfm8qkfz MIujjqbo540Wt5Vj7tc82rfjSKKBz34SaXh6tXU7Y728zryvi2aNOGDptT+bwayBSEamEcsRKyp78 19Tk3xpxNN2loeD3KicGpz/lA+oE22mj6+hsBS6iB6jV0AMrK2C7+PGT5nntYPZWeWdYEQxL7V4D7 KERcrIlURq8RstC+qJENOoh4OXlcPa2k5OJFAGAEvVcPXQkauJ1JeWAGl22m0M/AwBfy8CX5ynOXD KcW8NwnRmHmv1FnjioWHCq0faA1QUiK7LULpAF+rgZPF4X9B3mWS+A5er+73i+Roa7iStmgWJh4lp TLb4SgR/Y4rs8dQrdnTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl4M-0003rU-3Z; Mon, 15 Jun 2020 09:06:18 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0q-0007e0-6N for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:44 +0000 Received: by mail-wr1-x42a.google.com with SMTP id q11so16256458wrp.3 for ; Mon, 15 Jun 2020 02:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tsCLU7c5unBxnRP02RziNczP1dVrvUnmrxRghsZ+ccw=; b=EZLjJlVCmxfSEswylJgYWWxJWN/c0WUNjxypMwr6MOH5yYlc0F50EuRw//PvkLLPJm qU2bERbRr2e4c4+xTZq6a6e4ED69uN6WQPoFBWFXSwuSd6KUu6YxZBDBCfm3gatCEmUG AsqxT3jIzxjJ7GAWjCE2UrBganTPPnkDRVtzThFIn2Y1axscCELJn0LaD6JqdBzXaKrf i1WsoG+MWCe85wvdnDtX6Fx1hlTj4wihVqwYsz/c+AijrwgbCWJKO/c7w2jja+kpvfy/ g04/tpokfHgW8R+AC/GL5ebKbvKyYMDGEtAs6kOt8h8r6x0El0PLzTyBGaBP01tgoNWS hJvg== 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:content-transfer-encoding; bh=tsCLU7c5unBxnRP02RziNczP1dVrvUnmrxRghsZ+ccw=; b=d1Fxj9apMv/h/cvS2nWyXK+Nh7Z2RSuZ1KsS26qhgXwlYdxEqaShJ+kLjAh9BBwVg3 RHH0aBJk72HALjKv2uP+7LLix3y0kzyd3LWdZdXI0LQqVKsEhReR1G4U4jmvAd0+Yku1 gkfMmG+b5Dp5n8GGwgmoQNA1Vp5n5kvqnRaqEbdTKEwVUKRhvDzciY26hnJqd53vIDXo iOC805yC9SLPLJ93yy8LNwF+VFEcuLE5FxOt2dMbwxn/UY0NrUeLX5aHdaPlOXnZxkKx MwuMOzdhLhJGb48WZtDkFXSzKvPhUlo0mU4pCDgAilME2kVFGzLqwbt24Yk3zIaB6SKX HfXg== X-Gm-Message-State: AOAM532w/LIPgDKyiUOgOu7REI82J+fVlvocDukbqfyZf3EXLNr/ACsp cXlxjOroRjR5u/YKxulIfiA= X-Google-Smtp-Source: ABdhPJyi1PE2q6tlPKD/XsNCFCOHrnFjIMxUTjwni1holsNvEaEXZT4I+ft7lPgtJD/228HhL9gSCg== X-Received: by 2002:a5d:55c2:: with SMTP id i2mr27951100wrw.225.1592211758476; Mon, 15 Jun 2020 02:02:38 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:37 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 3/8] mips: bmips: add BCM6328 clock definitions Date: Mon, 15 Jun 2020 11:02:26 +0200 Message-Id: <20200615090231.2932696-4-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020240_715669_08876285 X-CRM114-Status: GOOD ( 11.07 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:42a listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add header with BCM6328 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm6328-clock.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/dt-bindings/clock/bcm6328-clock.h diff --git a/include/dt-bindings/clock/bcm6328-clock.h b/include/dt-bindings/clock/bcm6328-clock.h new file mode 100644 index 000000000000..1f6a3103f3dc --- /dev/null +++ b/include/dt-bindings/clock/bcm6328-clock.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM6328_H +#define __DT_BINDINGS_CLOCK_BCM6328_H + +#define BCM6328_CLK_PHYMIPS 0 +#define BCM6328_CLK_ADSL_QPROC 1 +#define BCM6328_CLK_ADSL_AFE 2 +#define BCM6328_CLK_ADSL 3 +#define BCM6328_CLK_MIPS 4 +#define BCM6328_CLK_SAR 5 +#define BCM6328_CLK_PCM 6 +#define BCM6328_CLK_USBD 7 +#define BCM6328_CLK_USBH 8 +#define BCM6328_CLK_HSSPI 9 +#define BCM6328_CLK_PCIE 10 +#define BCM6328_CLK_ROBOSW 11 + +#endif /* __DT_BINDINGS_CLOCK_BCM6328_H */ From patchwork Mon Jun 15 09:02:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604379 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 43F1260D for ; Mon, 15 Jun 2020 09:07:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16E7C20679 for ; Mon, 15 Jun 2020 09:07:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qiTcfm4R"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EqXU/lM0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16E7C20679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=/burm980SheOpdMgnQkBfCmgQZe/VRyA3scfSl8HCJM=; b=qiTcfm4R86YU0L DWS3/y/A/XPiyuYt09jIObdA5AjbO+YnIbWXZY6P3xeqC5jZbu2xh0J4fOe7EQ0ddLecpeL+wqKiq FLRaagLW44WUF6kIdGjad3S7r5XLJ9iQNWXCoVTpN0CA5V9juzetJWY0ER/+AIPh+KdtJRpcVW3Tk E0NTTjgc58B6id31Bh7a+S58gEXY78M28OXdypWWtiMc0qB+aqjgfMS2asjSNnrN7X32bexFTU77t dSAvoSVJnx3pkSJMKxus7sJS6AEMnctoj9jjQMO9Elm8TOaC/yzx1gGLbFRNyP5Lwxy25/ymmf3L+ GBCpDJLAfPG4O86ZoNzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl51-0004Pu-LC; Mon, 15 Jun 2020 09:06:59 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0r-0007eu-5M for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:46 +0000 Received: by mail-wr1-x42e.google.com with SMTP id q11so16256513wrp.3 for ; Mon, 15 Jun 2020 02:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ues0PsnnVMTN2sbMwsEgElj1LE6JXXdWEnRPN/tZ0o8=; b=EqXU/lM0q9MIXJDBQ0s380kcW+nwN7WLe4/vY5JTK+vuhc0adCvlPshXYcSUe6mouY Tx1ke6mDRM8b13Ft5Ssn+oAoadmjL5tyV18TEIIR+LwRbAqkBO/7rRDKmSDj2X5JiK8Y 6cqcJfNoYWswyhhwk/5fd8l31FJfO7J3g7rR7T3sfcxghvvpnbWJysrbwYWtB+XzfYaR 1H8haYAtvNUxTzIpHd+gPDtr0qci0ohLJspZtqG7TQk60/l40cr71P1Ub8KeaORyFnL+ WAMQhAQZsn/V7Cbd94D+Q4Bm/JtKi/8JBbvX+O4yC8DEtaDeg75HUPO1HjRF+Anthm0e QgSg== 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:content-transfer-encoding; bh=Ues0PsnnVMTN2sbMwsEgElj1LE6JXXdWEnRPN/tZ0o8=; b=psjyXQJ2vdNUpJtmuOHvp3G2ZmcVhxGQwh1HVmHjVtWiwiPYbJN70gu4IW2JgPzPPS T6PlRbK/2o354W8kxw4M/tTQAttBkRgwLu0Dxi1Z1AklCl6WALk7upAgiqepH7cs5pDL HKtbpguLL92RdQCVFwUOOTgVqHvMMO5irP4peRXsAciI8E6oGXrOapd57m6f7uA1fSlG 6qrkVW9X4jtfuazAcy+BW0G+0HKch8pPdTy6x7sP7bJuf4uFO9Qckk/gKX18FgE9E3xf TOfjY5dRDyhC0xnRa7uaEaTTU53JDmrC+S3/8mixVyv/iyFhRymCrm+BhhCR7BqVt/PF VE/g== X-Gm-Message-State: AOAM531LIo1n7zQBOzDhqiZQ2vGRzQrHOteZRzgE1L1/TwnKrRsV9X1f 4chTdisQmtTStWSzhY1Si0I= X-Google-Smtp-Source: ABdhPJyirIebTfKJActCxB0+Ojr4+xV+GSbhqF9ARgewihQbqIEyIQhSLHFoGV8d5Y2rDpjPg5sjpw== X-Received: by 2002:a05:6000:7:: with SMTP id h7mr29770003wrx.55.1592211759463; Mon, 15 Jun 2020 02:02:39 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:39 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 4/8] mips: bmips: add BCM6358 clock definitions Date: Mon, 15 Jun 2020 11:02:27 +0200 Message-Id: <20200615090231.2932696-5-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020241_385578_003CEA9C X-CRM114-Status: GOOD ( 10.88 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:42e listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add header with BCM6358 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm6358-clock.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/dt-bindings/clock/bcm6358-clock.h diff --git a/include/dt-bindings/clock/bcm6358-clock.h b/include/dt-bindings/clock/bcm6358-clock.h new file mode 100644 index 000000000000..980c9cac4765 --- /dev/null +++ b/include/dt-bindings/clock/bcm6358-clock.h @@ -0,0 +1,18 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM6358_H +#define __DT_BINDINGS_CLOCK_BCM6358_H + +#define BCM6358_CLK_ENET 4 +#define BCM6358_CLK_ADSLPHY 5 +#define BCM6358_CLK_PCM 8 +#define BCM6358_CLK_SPI 9 +#define BCM6358_CLK_USBS 10 +#define BCM6358_CLK_SAR 11 +#define BCM6358_CLK_EMUSB 17 +#define BCM6358_CLK_ENET0 18 +#define BCM6358_CLK_ENET1 19 +#define BCM6358_CLK_USBSU 20 +#define BCM6358_CLK_EPHY 21 + +#endif /* __DT_BINDINGS_CLOCK_BCM6358_H */ From patchwork Mon Jun 15 09:02:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604383 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3665060D for ; Mon, 15 Jun 2020 09:07:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 137922068E for ; Mon, 15 Jun 2020 09:07:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="payoUzoN"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="E4aEUiPC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 137922068E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=kXWjGMFU8JFe+DX5R6yvu6Nu39PHX13W8jTmpUg8Nlk=; b=payoUzoNzl5vjC YHg0yTzrd0593zX0GA1l0eGKAUk8iYn/JDZ7mRPYkHIgKqgf3cc9bO44vsbALuyLPmhm20cYjzslC SgFrCbYTp3efb1l+2Hx3Mr8ByLukRADm45bWgZ1le1TaeRcX59auArxtCB2dwWHl9Bj4a0cvDmIcD zFLLEhnRbmcQY2X/Erz48YNlBjNbLcob/6T6tnzkwIK6Z4GqcdOhl1kBObXAhfwF9JVIMSxVWlMVy 5tmd2iWeGBdW1o3KT5kqQAD6AedDZBTjmPwJHXpo01pgpUBBFl5OlnBAVmwaIo3igtZVLEj87qAt4 7iVEpqtgNsrJgi3MXZIw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl5X-0004xk-GJ; Mon, 15 Jun 2020 09:07:31 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0s-0007gJ-Uu for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:49 +0000 Received: by mail-wm1-x330.google.com with SMTP id j198so13625146wmj.0 for ; Mon, 15 Jun 2020 02:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ld57nJnZAP689cxMru8QNpuCGfHmRHQ2rq3i8nGEfuQ=; b=E4aEUiPCNp+XDU5iaBC6jRQltGKGR7evgt2RgQKR2QAsCUh+4OS56aWYuDmMYg9OV/ jOsgDFKCNQOh/iDgpKE/FNP+orbWp2EoUg+keNx1OPoedbFPRcLLCLh/sPoWQC1iEHcP 8y2iX7WG2mzGuPRBn8r2ZKxjC9PbiQiQgB+m7sGjcKTfnrRle5RAjqrbwR3LBSSBurq+ xFrzvYZX9JWxcZpof5u/Pa6631bzp6XeJfMEeY94o7D/ONy/Q1D++fqvfPsQvOl6LwoK wWcHjYlrfDob7rSQBXzsY8XzisWlKmWnzJoIy30k4oHEEFNKgIGH+WUdwCpNSng3PQu2 KdnA== 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:content-transfer-encoding; bh=ld57nJnZAP689cxMru8QNpuCGfHmRHQ2rq3i8nGEfuQ=; b=N5l+h6ytE+zIUFkQrOVrX8S7SETbJH3mv9WWim9taNQVvQGpC4ieF+Ejmlg16Df+SV 40vJa4QborhJtzeZajaWH0U93+CIx34DYrE8/Z6fOzyBLQO0fc2/7Ea18+cnlT4/SeNv sw2ym16tBDMLdeclA4j9ok+zw09kJvAeqO6+Bo/TY4HdYc9NfKYmbxHuS3apg1gffTqm d2uxK/QnQUXzZjy7gde+rfbKriT3bKtPm/sgzsyvgyOYpUMSQUHTvOIZz/ToYyDvsMj+ K5XiRFtcjSWR+/be9i41RU39Mm4S+D9yWtbrXk23StLQrObDKRhTrdJRufJ/jjv9v/VD Dcrg== X-Gm-Message-State: AOAM530vTtfnSDSkrO23s/NeRb/lsbGipAjnwnUP/iuXGebe+T8z9MjI ffVBapRED6k0qjmN1R2O1uE= X-Google-Smtp-Source: ABdhPJytr5S09yPh9QES843sEaKRMapl23pdGMM5fYzqE8LsqKW3v7pIqGJ6d/IkGL562wILewGwDQ== X-Received: by 2002:a1c:4143:: with SMTP id o64mr11668285wma.157.1592211760672; Mon, 15 Jun 2020 02:02:40 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:40 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 5/8] mips: bmips: add BCM6362 clock definitions Date: Mon, 15 Jun 2020 11:02:28 +0200 Message-Id: <20200615090231.2932696-6-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020243_101749_88140F93 X-CRM114-Status: GOOD ( 11.13 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:330 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add header with BCM6362 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm6362-clock.h | 26 +++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/dt-bindings/clock/bcm6362-clock.h diff --git a/include/dt-bindings/clock/bcm6362-clock.h b/include/dt-bindings/clock/bcm6362-clock.h new file mode 100644 index 000000000000..17655cd5bf25 --- /dev/null +++ b/include/dt-bindings/clock/bcm6362-clock.h @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM6362_H +#define __DT_BINDINGS_CLOCK_BCM6362_H + +#define BCM6362_CLK_ADSL_QPROC 1 +#define BCM6362_CLK_ADSL_AFE 2 +#define BCM6362_CLK_ADSL 3 +#define BCM6362_CLK_MIPS 4 +#define BCM6362_CLK_WLAN_OCP 5 +#define BCM6362_CLK_SWPKT_USB 7 +#define BCM6362_CLK_SWPKT_SAR 8 +#define BCM6362_CLK_SAR 9 +#define BCM6362_CLK_ROBOSW 10 +#define BCM6362_CLK_PCM 11 +#define BCM6362_CLK_USBD 12 +#define BCM6362_CLK_USBH 13 +#define BCM6362_CLK_IPSEC 14 +#define BCM6362_CLK_SPI 15 +#define BCM6362_CLK_HSSPI 16 +#define BCM6362_CLK_PCIE 17 +#define BCM6362_CLK_FAP 18 +#define BCM6362_CLK_PHYMIPS 19 +#define BCM6362_CLK_NAND 20 + +#endif /* __DT_BINDINGS_CLOCK_BCM6362_H */ From patchwork Mon Jun 15 09:02:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604387 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7182860D for ; Mon, 15 Jun 2020 09:07:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3252520679 for ; Mon, 15 Jun 2020 09:07:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="F8UBusJO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="e6fPh/ic" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3252520679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=ZFHrxALWHcGuNVA+klQ8L/QOIbaQ6kC4i3AT3YW0by4=; b=F8UBusJOTYU4wK UEDUk4ux4VxZrng+hA+cNG91/nhy/L4Pv2sg+p7nvKm+4bVmHiHtpH94ldQhWToRoJ48zLQtdJjAQ 9U4AoNEiVRTXZIWNko7FhThGVqHxRYfoXCKuc1xPiSArjx7fOOJT0FObzm+OwchR64jdl6a4vFBZW VN0eXGAaNwLfrbRsUX4ItaVj4OBoesKG/a4x5XUwU1qWVaP4yy+oMKt2iVYQ0Dov8sXjwo5OKfthk vHBOUSD6+f42I6X6uZA6QLTaBPtCJlAvrIHihuFyA7V193fgcXE3Y8IOFIf3E0BvHcoSr122D3+Os PqP9wnKEAMFM05QD5UFA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl5n-0005CD-Lb; Mon, 15 Jun 2020 09:07:47 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0t-0007h7-KZ for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:48 +0000 Received: by mail-wm1-x329.google.com with SMTP id l17so13821083wmj.0 for ; Mon, 15 Jun 2020 02:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cJ0uxRdi9VEd/TOL8ED+lcxK3NI1zfgFx15e2ixS1k4=; b=e6fPh/icrbjbhyw0BeCx94yeiXcmNnPTJTSQjk1tm5EOL/UtIwcojt7fieEnRGLcQw YiUfaRwFFd/juPYoDUiOusjx9BFpAEtZHriY0u5z6IL1xtseQ5jUp1lEA7tt5oIARqxC m5J5Nw0oZtfG8Ty8MR+57WlsfhW8DjxUqhMq8jQpr/0MvbunUHIC9AN4AhAQMhP24LKU wF6zU32YdWcPe47uVmbH6AhLcZSw2lZlec7b9N1BlzQXKi0ylu9xeYa/eJO3mV3aBtRZ iNunjh0AjiQOKBf3dyZbZVLqK/exfU5DjpKDoXdZZc0T7oWdR3tDTfFZcGzvZhUo3e9T QOJQ== 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:content-transfer-encoding; bh=cJ0uxRdi9VEd/TOL8ED+lcxK3NI1zfgFx15e2ixS1k4=; b=a1D5NsB14ny507NM/g/Qcz+YGwQkYloHxT+QCdkJ41kS9PrSzm0Qjv4pUQbX0rXYeN ln9+lIi5l3ekOLK9+HvSSZs/1xf8DkfdTVA8fgABgf+mJ94Ijld5si9BLUD7VbKAt78t kSEwaI2e0S1dRWs6d60GxaE4VTxUr1speq7+1wUt0mBZVKxNzLohjvp632w4v2B91NQw 3rCTAcrBZrFHxfpp3yNnooPytlvTJuZQmZFsDfPAhu8K0Tbte+zKWSEoqFrLo55/3Nfy ySPNbHky0YBJiywIlYg+FuLCv1OlQUu9PDS7GF4u0GW+QhWIoH1thQIESaxVsdhDHpnf 25Iw== X-Gm-Message-State: AOAM530nYMqmSY2K19D5YVbEh/b9a9R0AxBOlPQdM62zXcHsepsEkhxs 0vJGEOvjo1b682Dnjsrn6dE= X-Google-Smtp-Source: ABdhPJykT5vQvP9A9keEIoJeerQLZ0fPea/ZllQI8Xc8lISOTXMHBRJ0V3qK9KhCAGp2crETqhGNSg== X-Received: by 2002:a7b:c201:: with SMTP id x1mr11812966wmi.58.1592211761939; Mon, 15 Jun 2020 02:02:41 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:41 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 6/8] mips: bmips: add BCM6368 clock definitions Date: Mon, 15 Jun 2020 11:02:29 +0200 Message-Id: <20200615090231.2932696-7-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020243_704684_9C1B4143 X-CRM114-Status: GOOD ( 10.98 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:329 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add header with BCM6368 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm6368-clock.h | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/dt-bindings/clock/bcm6368-clock.h diff --git a/include/dt-bindings/clock/bcm6368-clock.h b/include/dt-bindings/clock/bcm6368-clock.h new file mode 100644 index 000000000000..f161d5333883 --- /dev/null +++ b/include/dt-bindings/clock/bcm6368-clock.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM6368_H +#define __DT_BINDINGS_CLOCK_BCM6368_H + +#define BCM6368_CLK_VDSL_QPROC 2 +#define BCM6368_CLK_VDSL_AFE 3 +#define BCM6368_CLK_VDSL_BONDING 4 +#define BCM6368_CLK_VDSL 5 +#define BCM6368_CLK_PHYMIPS 6 +#define BCM6368_CLK_SWPKT_USB 7 +#define BCM6368_CLK_SWPKT_SAR 8 +#define BCM6368_CLK_SPI 9 +#define BCM6368_CLK_USBD 10 +#define BCM6368_CLK_SAR 11 +#define BCM6368_CLK_ROBOSW 12 +#define BCM6368_CLK_UTOPIA 13 +#define BCM6368_CLK_PCM 14 +#define BCM6368_CLK_USBH 15 +#define BCM6368_CLK_DIS_GLESS 16 +#define BCM6368_CLK_NAND 17 +#define BCM6368_CLK_IPSEC 18 + +#endif /* __DT_BINDINGS_CLOCK_BCM6368_H */ From patchwork Mon Jun 15 09:02:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604381 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B527460D for ; Mon, 15 Jun 2020 09:07:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 919822068E for ; Mon, 15 Jun 2020 09:07:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JE1w+fiP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fwEo+CvA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 919822068E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=vovKOIjZui/MZHHhgBJet3uetv7nBlCMystgGlFDZi0=; b=JE1w+fiPs0q0pd F1IVmeOCsu6dCvLVF8GTe5Jcj6PmArCMhRgGkNZj4LtiI6bacvAOmc3MisgiKtkK+df5Um7aINkwD +I2AjU0s56ZazuDRFxDCZQ1I39Tnp6oESZ4kEAS0e48OrpBwPDN8Yz9PNo4+imT4NhwT21ro0NtKF fj8T21WiMOzA4A2kqkcAGfO72IQfuZoW9Ulmjqgq1xfFWRzr34yhedFtC2Yc2k3OUYxe0oIlyDdrH i2YS/tvVctkjnbqr4uGaLf3Hx29F0jjFykEw+961mhZPLE2rE0L9NAVaTUJKF1tombft+0wlxNXY7 gz2DwT90GgsKj4d8GCRw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl5H-0004ga-L3; Mon, 15 Jun 2020 09:07:15 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0u-0007iN-La for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:50 +0000 Received: by mail-wm1-x330.google.com with SMTP id f185so13982541wmf.3 for ; Mon, 15 Jun 2020 02:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sul9vJFiyBV6DzJkPSxg+U7YDJ0hSsaO8TNndWGgTaU=; b=fwEo+CvAjK6dvRzrJaQwX3nBJrIXw6jfji3vKpMwpjImSNh/1xQbkGUQ998M537hqe oZHiRBCq14RF7yT+q5jDRvZSnNWzMa+jLR83t+KoCybLAWB54oCpMruph3oh1cTfDe9Z o4oAVhwJpHUrrJ0SUgoF8PfsOsSn1QCMpT13EyEr1EeLF/FtfelhHrDjfMZE/8xUOUD+ 5cJ2FffMDPu8vMr5NItLffknE7Rvr6UBh+dTX/mtOXzs6E5RwgGyXhii414XVpyZTndM vf/3mz+rssH16wNCj13S2HFecN2w7E2kpeNiKLzllmDifJSOZScRLaNqXH7Hc0acr1lt ynTw== 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:content-transfer-encoding; bh=sul9vJFiyBV6DzJkPSxg+U7YDJ0hSsaO8TNndWGgTaU=; b=Cqy54UOr8P9IDnFcy0nrqnY17iLYE6W0uvRV+4dDCd5HHrsoJMp/sNomh3wWTJdpq2 PEfYzgOZxOXPIouPW+Ca4r6Mtrw+ALXroKdXZm768zowwuVAaPziMq9NoJdUu6dXFAXF 3lweuwqAQtc5urH4JejypC7C344c3PZAG5GEZgDIOKaKez8nHn1WGsDcYFMpQC3/nyGA 6nhwR2lOrLHUjlRYxfqvNx7ERhZjVWh6H3ls72L4bmOyn48yx8R8dRcszoG/LpmZPEeV q67CNQpF2s2SCZ775v9inbupt2KzKm8RcWfI0pLGf6uTYsxsKq2apkS1kOc3oLE8Javu tTAg== X-Gm-Message-State: AOAM531rGCF1U+W+3S4Wt69RJxyMbMJTO18hX4jvLBRIYUZ7Jqv4UHSG 6k3FaE/qk8iR4YX8H7mDlr8= X-Google-Smtp-Source: ABdhPJyw/S8iFkx2eI1viZD4C2iESlJld5Z8fOnV0NaoxTum7ZFKlP+Ll4U7JVOLpjAwpR0GPjAv7A== X-Received: by 2002:a05:600c:2945:: with SMTP id n5mr12937217wmd.189.1592211763201; Mon, 15 Jun 2020 02:02:43 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:42 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 7/8] mips: bmips: add BCM63268 clock definitions Date: Mon, 15 Jun 2020 11:02:30 +0200 Message-Id: <20200615090231.2932696-8-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020244_735276_CD907C11 X-CRM114-Status: GOOD ( 11.27 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:330 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add header with BCM63268 definitions in order to be able to include it from device tree files. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- include/dt-bindings/clock/bcm63268-clock.h | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/dt-bindings/clock/bcm63268-clock.h diff --git a/include/dt-bindings/clock/bcm63268-clock.h b/include/dt-bindings/clock/bcm63268-clock.h new file mode 100644 index 000000000000..da23e691d359 --- /dev/null +++ b/include/dt-bindings/clock/bcm63268-clock.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __DT_BINDINGS_CLOCK_BCM63268_H +#define __DT_BINDINGS_CLOCK_BCM63268_H + +#define BCM63268_CLK_DIS_GLESS 0 +#define BCM63268_CLK_VDSL_QPROC 1 +#define BCM63268_CLK_VDSL_AFE 2 +#define BCM63268_CLK_VDSL 3 +#define BCM63268_CLK_MIPS 4 +#define BCM63268_CLK_WLAN_OCP 5 +#define BCM63268_CLK_DECT 6 +#define BCM63268_CLK_FAP0 7 +#define BCM63268_CLK_FAP1 8 +#define BCM63268_CLK_SAR 9 +#define BCM63268_CLK_ROBOSW 10 +#define BCM63268_CLK_PCM 11 +#define BCM63268_CLK_USBD 12 +#define BCM63268_CLK_USBH 13 +#define BCM63268_CLK_IPSEC 14 +#define BCM63268_CLK_SPI 15 +#define BCM63268_CLK_HSSPI 16 +#define BCM63268_CLK_PCIE 17 +#define BCM63268_CLK_PHYMIPS 18 +#define BCM63268_CLK_GMAC 19 +#define BCM63268_CLK_NAND 20 +#define BCM63268_CLK_TBUS 27 +#define BCM63268_CLK_ROBOSW250 31 + +#endif /* __DT_BINDINGS_CLOCK_BCM63268_H */ From patchwork Mon Jun 15 09:02:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11604391 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2B90B90 for ; Mon, 15 Jun 2020 09:08:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E54322068E for ; Mon, 15 Jun 2020 09:08:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UbbJcxpq"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="uiT28Uep" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E54322068E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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=l36p45HzoB/XAMwPRuWw3TJ6OJd+v90KTrkFILMhhmI=; b=UbbJcxpqaoeRnl BToT3stHH/l0gRom2SsWtZhhxwQgy/cmmsZfbLlZZ1JIkHPh69Lw76u4dfKgi9rikpUbYs3dC5xW0 Apbeux4dTiTwRQEws7bxHw2CQtf1MbDSQNMPlZQL+qT1gtX41VCdjAY7DU5jNz3DPzBfHnPiuHXHY z2iB1qtfQa4EsGIQBX3S3943ac62DrB1Cx/wgwR1Ft830BmakXieTIzHOFUmFI+cXaC09+9udmq8P kF70C1PICebFYDVPeTnH5zeudu9BXiDwrALqR3cIaGBYZ2kJZtIYMTY5eL30PYsXbH/e+seyN15J7 X3qhUabjpUYEtIE4O/QA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl6F-0005Wg-En; Mon, 15 Jun 2020 09:08:15 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkl0w-0007jZ-Cd for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 09:02:53 +0000 Received: by mail-wm1-x344.google.com with SMTP id d128so13984993wmc.1 for ; Mon, 15 Jun 2020 02:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=knVNalxyxtKtb4hbONTCKOf3kMZwkGfBNHoePvfHKus=; b=uiT28UepS7YwKq24zjAGRHTmJheAWs11FXsonxY77xSq8kqa43SlG74WPsE8wOvYE7 1fI731bgAJ/Vw/qHUemFkCHb2Sr/r4S302HVI4ZJzhXEQLm4z2+G+LlsMh+LLCizx7OQ h2/j+YjFsMjrGoamxzRpQ8T81TWlJrJjSXauFpXX0e99Xxt3RDL1/ViQ8q6FdvlXt7Gz fHEPHHWDGflx64hTcxsxmXPdCfqAl5z6wuS4Iva9Z+sXoAysLH0gKkYsQhOFLM9olssP OHvSGpU9DuOOJr3Yp+LN8cPMc4U3bTvdthcBU444I8vXWrB+To9xCJQpSOdpgLWnmG82 4dkQ== 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:content-transfer-encoding; bh=knVNalxyxtKtb4hbONTCKOf3kMZwkGfBNHoePvfHKus=; b=ODM79a8oK2ihWloKfyE0OirWDfiD7Z2UYu99k/LC950hfIkMg1swkaumzFJLr3I33R 2FqfyUesjGbqflj2mXtcNfduDCnf/S5WEpgz6WGQZm5B1CPuwRO/bXkF4FDtW3R56AJy n30aqG5XFfeUwoRhGyWcXblyzmMK8hFkJqvDu9L70un7bcKjSSFfzGW5H/pJI0kA3tjn TjmM5KrClzxI5kTSOSjAWRXVLxDGJ7cgZOpMOh71VVdyTG/m3XMIh5ghasQct/OQt3TS Rm2E48rU8Ufd6Yh0Huqxwk+LU2K1JNC8ZHTbroKmadNiVzhKrc+uSHHQWyiotWQlHElL m0wQ== X-Gm-Message-State: AOAM533cTOrOH/l6oXighrJy9Lc0deL035laQoSj8U0hKpjfHkFmdFq3 01ft+nNeTDSbaCSwfOCWO4UpV62tRVhIRA== X-Google-Smtp-Source: ABdhPJz58Mg/HUFBrF/gAk1m4i3WIMu2tlUiS7RrioP4s6hNcH/o4v3EmbAiLpMPNmhwTKZ6AejQKA== X-Received: by 2002:a7b:c248:: with SMTP id b8mr11532570wmj.2.1592211764635; Mon, 15 Jun 2020 02:02:44 -0700 (PDT) Received: from skynet.lan (168.red-88-20-188.staticip.rima-tde.net. [88.20.188.168]) by smtp.gmail.com with ESMTPSA id o15sm24089516wrv.48.2020.06.15.02.02.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 02:02:44 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: mturquette@baylibre.com, sboyd@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, julia.lawall@lip6.fr, jonas.gorski@gmail.com, lkp@intel.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 8/8] clk: bcm63xx-gate: switch to dt-bindings definitions Date: Mon, 15 Jun 2020 11:02:31 +0200 Message-Id: <20200615090231.2932696-9-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200615090231.2932696-1-noltari@gmail.com> References: <20200615090231.2932696-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_020246_479142_24BC227C X-CRM114-Status: GOOD ( 12.75 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Now that there are header files for each SoC, let's use them in the bcm63xx-gate controller driver. Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli --- drivers/clk/bcm/clk-bcm63xx-gate.c | 580 ++++++++++++++++++++++------- 1 file changed, 439 insertions(+), 141 deletions(-) diff --git a/drivers/clk/bcm/clk-bcm63xx-gate.c b/drivers/clk/bcm/clk-bcm63xx-gate.c index fce6746cc607..8ebc49082374 100644 --- a/drivers/clk/bcm/clk-bcm63xx-gate.c +++ b/drivers/clk/bcm/clk-bcm63xx-gate.c @@ -6,6 +6,14 @@ #include #include +#include +#include +#include +#include +#include +#include +#include + struct clk_bcm63xx_table_entry { const char * const name; u8 bit; @@ -20,168 +28,458 @@ struct clk_bcm63xx_hw { }; static const struct clk_bcm63xx_table_entry bcm3368_clocks[] = { - { .name = "mac", .bit = 3, }, - { .name = "tc", .bit = 5, }, - { .name = "us_top", .bit = 6, }, - { .name = "ds_top", .bit = 7, }, - { .name = "acm", .bit = 8, }, - { .name = "spi", .bit = 9, }, - { .name = "usbs", .bit = 10, }, - { .name = "bmu", .bit = 11, }, - { .name = "pcm", .bit = 12, }, - { .name = "ntp", .bit = 13, }, - { .name = "acp_b", .bit = 14, }, - { .name = "acp_a", .bit = 15, }, - { .name = "emusb", .bit = 17, }, - { .name = "enet0", .bit = 18, }, - { .name = "enet1", .bit = 19, }, - { .name = "usbsu", .bit = 20, }, - { .name = "ephy", .bit = 21, }, - { }, + { + .name = "mac", + .bit = BCM3368_CLK_MAC, + }, { + .name = "tc", + .bit = BCM3368_CLK_TC, + }, { + .name = "us_top", + .bit = BCM3368_CLK_US_TOP, + }, { + .name = "ds_top", + .bit = BCM3368_CLK_DS_TOP, + }, { + .name = "acm", + .bit = BCM3368_CLK_ACM, + }, { + .name = "spi", + .bit = BCM3368_CLK_SPI, + }, { + .name = "usbs", + .bit = BCM3368_CLK_USBS, + }, { + .name = "bmu", + .bit = BCM3368_CLK_BMU, + }, { + .name = "pcm", + .bit = BCM3368_CLK_PCM, + }, { + .name = "ntp", + .bit = BCM3368_CLK_NTP, + }, { + .name = "acp_b", + .bit = BCM3368_CLK_ACP_B, + }, { + .name = "acp_a", + .bit = BCM3368_CLK_ACP_A, + }, { + .name = "emusb", + .bit = BCM3368_CLK_EMUSB, + }, { + .name = "enet0", + .bit = BCM3368_CLK_ENET0, + }, { + .name = "enet1", + .bit = BCM3368_CLK_ENET1, + }, { + .name = "usbsu", + .bit = BCM3368_CLK_USBSU, + }, { + .name = "ephy", + .bit = BCM3368_CLK_EPHY, + }, { + /* sentinel */ + }, }; static const struct clk_bcm63xx_table_entry bcm6318_clocks[] = { - { .name = "adsl_asb", .bit = 0, }, - { .name = "usb_asb", .bit = 1, }, - { .name = "mips_asb", .bit = 2, }, - { .name = "pcie_asb", .bit = 3, }, - { .name = "phymips_asb", .bit = 4, }, - { .name = "robosw_asb", .bit = 5, }, - { .name = "sar_asb", .bit = 6, }, - { .name = "sdr_asb", .bit = 7, }, - { .name = "swreg_asb", .bit = 8, }, - { .name = "periph_asb", .bit = 9, }, - { .name = "cpubus160", .bit = 10, }, - { .name = "adsl", .bit = 11, }, - { .name = "sar125", .bit = 12, }, - { .name = "mips", .bit = 13, .flags = CLK_IS_CRITICAL, }, - { .name = "pcie", .bit = 14, }, - { .name = "robosw250", .bit = 16, }, - { .name = "robosw025", .bit = 17, }, - { .name = "sdr", .bit = 19, .flags = CLK_IS_CRITICAL, }, - { .name = "usbd", .bit = 20, }, - { .name = "hsspi", .bit = 25, }, - { .name = "pcie25", .bit = 27, }, - { .name = "phymips", .bit = 28, }, - { .name = "afe", .bit = 29, }, - { .name = "qproc", .bit = 30, }, - { }, + { + .name = "adsl_asb", + .bit = BCM6318_CLK_ADSL_ASB, + }, { + .name = "usb_asb", + .bit = BCM6318_CLK_USB_ASB, + }, { + .name = "mips_asb", + .bit = BCM6318_CLK_MIPS_ASB, + }, { + .name = "pcie_asb", + .bit = BCM6318_CLK_PCIE_ASB, + }, { + .name = "phymips_asb", + .bit = BCM6318_CLK_PHYMIPS_ASB, + }, { + .name = "robosw_asb", + .bit = BCM6318_CLK_ROBOSW_ASB, + }, { + .name = "sar_asb", + .bit = BCM6318_CLK_SAR_ASB, + }, { + .name = "sdr_asb", + .bit = BCM6318_CLK_SDR_ASB, + }, { + .name = "swreg_asb", + .bit = BCM6318_CLK_SWREG_ASB, + }, { + .name = "periph_asb", + .bit = BCM6318_CLK_PERIPH_ASB, + }, { + .name = "cpubus160", + .bit = BCM6318_CLK_CPUBUS160, + }, { + .name = "adsl", + .bit = BCM6318_CLK_ADSL, + }, { + .name = "sar125", + .bit = BCM6318_CLK_SAR125, + }, { + .name = "mips", + .bit = BCM6318_CLK_MIPS, + .flags = CLK_IS_CRITICAL, + }, { + .name = "pcie", + .bit = BCM6318_CLK_PCIE, + }, { + .name = "robosw250", + .bit = BCM6318_CLK_ROBOSW250, + }, { + .name = "robosw025", + .bit = BCM6318_CLK_ROBOSW025, + }, { + .name = "sdr", + .bit = BCM6318_CLK_SDR, + .flags = CLK_IS_CRITICAL, + }, { + .name = "usbd", + .bit = BCM6318_CLK_USBD, + }, { + .name = "hsspi", + .bit = BCM6318_CLK_HSSPI, + }, { + .name = "pcie25", + .bit = BCM6318_CLK_PCIE25, + }, { + .name = "phymips", + .bit = BCM6318_CLK_PHYMIPS, + }, { + .name = "afe", + .bit = BCM6318_CLK_AFE, + }, { + .name = "qproc", + .bit = BCM6318_CLK_QPROC, + }, { + /* sentinel */ + }, }; static const struct clk_bcm63xx_table_entry bcm6318_ubus_clocks[] = { - { .name = "adsl-ubus", .bit = 0, }, - { .name = "arb-ubus", .bit = 1, .flags = CLK_IS_CRITICAL, }, - { .name = "mips-ubus", .bit = 2, .flags = CLK_IS_CRITICAL, }, - { .name = "pcie-ubus", .bit = 3, }, - { .name = "periph-ubus", .bit = 4, .flags = CLK_IS_CRITICAL, }, - { .name = "phymips-ubus", .bit = 5, }, - { .name = "robosw-ubus", .bit = 6, }, - { .name = "sar-ubus", .bit = 7, }, - { .name = "sdr-ubus", .bit = 8, }, - { .name = "usb-ubus", .bit = 9, }, - { }, + { + .name = "adsl-ubus", + .bit = BCM6318_UCLK_ADSL, + }, { + .name = "arb-ubus", + .bit = BCM6318_UCLK_ARB, + .flags = CLK_IS_CRITICAL, + }, { + .name = "mips-ubus", + .bit = BCM6318_UCLK_MIPS, + .flags = CLK_IS_CRITICAL, + }, { + .name = "pcie-ubus", + .bit = BCM6318_UCLK_PCIE, + }, { + .name = "periph-ubus", + .bit = BCM6318_UCLK_PERIPH, + .flags = CLK_IS_CRITICAL, + }, { + .name = "phymips-ubus", + .bit = BCM6318_UCLK_PHYMIPS, + }, { + .name = "robosw-ubus", + .bit = BCM6318_UCLK_ROBOSW, + }, { + .name = "sar-ubus", + .bit = BCM6318_UCLK_SAR, + }, { + .name = "sdr-ubus", + .bit = BCM6318_UCLK_SDR, + }, { + .name = "usb-ubus", + .bit = BCM6318_UCLK_USB, + }, { + /* sentinel */ + }, }; static const struct clk_bcm63xx_table_entry bcm6328_clocks[] = { - { .name = "phy_mips", .bit = 0, }, - { .name = "adsl_qproc", .bit = 1, }, - { .name = "adsl_afe", .bit = 2, }, - { .name = "adsl", .bit = 3, }, - { .name = "mips", .bit = 4, .flags = CLK_IS_CRITICAL, }, - { .name = "sar", .bit = 5, }, - { .name = "pcm", .bit = 6, }, - { .name = "usbd", .bit = 7, }, - { .name = "usbh", .bit = 8, }, - { .name = "hsspi", .bit = 9, }, - { .name = "pcie", .bit = 10, }, - { .name = "robosw", .bit = 11, }, - { }, + { + .name = "phy_mips", + .bit = BCM6328_CLK_PHYMIPS, + }, { + .name = "adsl_qproc", + .bit = BCM6328_CLK_ADSL_QPROC, + }, { + .name = "adsl_afe", + .bit = BCM6328_CLK_ADSL_AFE, + }, { + .name = "adsl", + .bit = BCM6328_CLK_ADSL, + }, { + .name = "mips", + .bit = BCM6328_CLK_MIPS, + .flags = CLK_IS_CRITICAL, + }, { + .name = "sar", + .bit = BCM6328_CLK_SAR, + }, { + .name = "pcm", + .bit = BCM6328_CLK_PCM, + }, { + .name = "usbd", + .bit = BCM6328_CLK_USBD, + }, { + .name = "usbh", + .bit = BCM6328_CLK_USBH, + }, { + .name = "hsspi", + .bit = BCM6328_CLK_HSSPI, + }, { + .name = "pcie", + .bit = BCM6328_CLK_PCIE, + }, { + .name = "robosw", + .bit = BCM6328_CLK_ROBOSW, + }, { + /* sentinel */ + }, }; static const struct clk_bcm63xx_table_entry bcm6358_clocks[] = { - { .name = "enet", .bit = 4, }, - { .name = "adslphy", .bit = 5, }, - { .name = "pcm", .bit = 8, }, - { .name = "spi", .bit = 9, }, - { .name = "usbs", .bit = 10, }, - { .name = "sar", .bit = 11, }, - { .name = "emusb", .bit = 17, }, - { .name = "enet0", .bit = 18, }, - { .name = "enet1", .bit = 19, }, - { .name = "usbsu", .bit = 20, }, - { .name = "ephy", .bit = 21, }, - { }, + { + .name = "enet", + .bit = BCM6358_CLK_ENET, + }, { + .name = "adslphy", + .bit = BCM6358_CLK_ADSLPHY, + }, { + .name = "pcm", + .bit = BCM6358_CLK_PCM, + }, { + .name = "spi", + .bit = BCM6358_CLK_SPI, + }, { + .name = "usbs", + .bit = BCM6358_CLK_USBS, + }, { + .name = "sar", + .bit = BCM6358_CLK_SAR, + }, { + .name = "emusb", + .bit = BCM6358_CLK_EMUSB, + }, { + .name = "enet0", + .bit = BCM6358_CLK_ENET0, + }, { + .name = "enet1", + .bit = BCM6358_CLK_ENET1, + }, { + .name = "usbsu", + .bit = BCM6358_CLK_USBSU, + }, { + .name = "ephy", + .bit = BCM6358_CLK_EPHY, + }, { + /* sentinel */ + }, }; static const struct clk_bcm63xx_table_entry bcm6362_clocks[] = { - { .name = "adsl_qproc", .bit = 1, }, - { .name = "adsl_afe", .bit = 2, }, - { .name = "adsl", .bit = 3, }, - { .name = "mips", .bit = 4, .flags = CLK_IS_CRITICAL, }, - { .name = "wlan_ocp", .bit = 5, }, - { .name = "swpkt_usb", .bit = 7, }, - { .name = "swpkt_sar", .bit = 8, }, - { .name = "sar", .bit = 9, }, - { .name = "robosw", .bit = 10, }, - { .name = "pcm", .bit = 11, }, - { .name = "usbd", .bit = 12, }, - { .name = "usbh", .bit = 13, }, - { .name = "ipsec", .bit = 14, }, - { .name = "spi", .bit = 15, }, - { .name = "hsspi", .bit = 16, }, - { .name = "pcie", .bit = 17, }, - { .name = "fap", .bit = 18, }, - { .name = "phymips", .bit = 19, }, - { .name = "nand", .bit = 20, }, - { }, + { + .name = "adsl_qproc", + .bit = BCM6362_CLK_ADSL_QPROC, + }, { + .name = "adsl_afe", + .bit = BCM6362_CLK_ADSL_AFE, + }, { + .name = "adsl", + .bit = BCM6362_CLK_ADSL, + }, { + .name = "mips", + .bit = BCM6362_CLK_MIPS, + .flags = CLK_IS_CRITICAL, + }, { + .name = "wlan_ocp", + .bit = BCM6362_CLK_WLAN_OCP, + }, { + .name = "swpkt_usb", + .bit = BCM6362_CLK_SWPKT_USB, + }, { + .name = "swpkt_sar", + .bit = BCM6362_CLK_SWPKT_SAR, + }, { + .name = "sar", + .bit = BCM6362_CLK_SAR, + }, { + .name = "robosw", + .bit = BCM6362_CLK_ROBOSW, + }, { + .name = "pcm", + .bit = BCM6362_CLK_PCM, + }, { + .name = "usbd", + .bit = BCM6362_CLK_USBD, + }, { + .name = "usbh", + .bit = BCM6362_CLK_USBH, + }, { + .name = "ipsec", + .bit = BCM6362_CLK_IPSEC, + }, { + .name = "spi", + .bit = BCM6362_CLK_SPI, + }, { + .name = "hsspi", + .bit = BCM6362_CLK_HSSPI, + }, { + .name = "pcie", + .bit = BCM6362_CLK_PCIE, + }, { + .name = "fap", + .bit = BCM6362_CLK_FAP, + }, { + .name = "phymips", + .bit = BCM6362_CLK_PHYMIPS, + }, { + .name = "nand", + .bit = BCM6362_CLK_NAND, + }, { + /* sentinel */ + }, }; static const struct clk_bcm63xx_table_entry bcm6368_clocks[] = { - { .name = "vdsl_qproc", .bit = 2, }, - { .name = "vdsl_afe", .bit = 3, }, - { .name = "vdsl_bonding", .bit = 4, }, - { .name = "vdsl", .bit = 5, }, - { .name = "phymips", .bit = 6, }, - { .name = "swpkt_usb", .bit = 7, }, - { .name = "swpkt_sar", .bit = 8, }, - { .name = "spi", .bit = 9, }, - { .name = "usbd", .bit = 10, }, - { .name = "sar", .bit = 11, }, - { .name = "robosw", .bit = 12, }, - { .name = "utopia", .bit = 13, }, - { .name = "pcm", .bit = 14, }, - { .name = "usbh", .bit = 15, }, - { .name = "disable_gless", .bit = 16, }, - { .name = "nand", .bit = 17, }, - { .name = "ipsec", .bit = 18, }, - { }, + { + .name = "vdsl_qproc", + .bit = BCM6368_CLK_VDSL_QPROC, + }, { + .name = "vdsl_afe", + .bit = BCM6368_CLK_VDSL_AFE, + }, { + .name = "vdsl_bonding", + .bit = BCM6368_CLK_VDSL_BONDING, + }, { + .name = "vdsl", + .bit = BCM6368_CLK_VDSL, + }, { + .name = "phymips", + .bit = BCM6368_CLK_PHYMIPS, + }, { + .name = "swpkt_usb", + .bit = BCM6368_CLK_SWPKT_USB, + }, { + .name = "swpkt_sar", + .bit = BCM6368_CLK_SWPKT_SAR, + }, { + .name = "spi", + .bit = BCM6368_CLK_SPI, + }, { + .name = "usbd", + .bit = BCM6368_CLK_USBD, + }, { + .name = "sar", + .bit = BCM6368_CLK_SAR, + }, { + .name = "robosw", + .bit = BCM6368_CLK_ROBOSW, + }, { + .name = "utopia", + .bit = BCM6368_CLK_UTOPIA, + }, { + .name = "pcm", + .bit = BCM6368_CLK_PCM, + }, { + .name = "usbh", + .bit = BCM6368_CLK_USBH, + }, { + .name = "disable_gless", + .bit = BCM6368_CLK_DIS_GLESS, + }, { + .name = "nand", + .bit = BCM6368_CLK_NAND, + }, { + .name = "ipsec", + .bit = BCM6368_CLK_IPSEC, + }, { + /* sentinel */ + }, }; static const struct clk_bcm63xx_table_entry bcm63268_clocks[] = { - { .name = "disable_gless", .bit = 0, }, - { .name = "vdsl_qproc", .bit = 1, }, - { .name = "vdsl_afe", .bit = 2, }, - { .name = "vdsl", .bit = 3, }, - { .name = "mips", .bit = 4, .flags = CLK_IS_CRITICAL, }, - { .name = "wlan_ocp", .bit = 5, }, - { .name = "dect", .bit = 6, }, - { .name = "fap0", .bit = 7, }, - { .name = "fap1", .bit = 8, }, - { .name = "sar", .bit = 9, }, - { .name = "robosw", .bit = 10, }, - { .name = "pcm", .bit = 11, }, - { .name = "usbd", .bit = 12, }, - { .name = "usbh", .bit = 13, }, - { .name = "ipsec", .bit = 14, }, - { .name = "spi", .bit = 15, }, - { .name = "hsspi", .bit = 16, }, - { .name = "pcie", .bit = 17, }, - { .name = "phymips", .bit = 18, }, - { .name = "gmac", .bit = 19, }, - { .name = "nand", .bit = 20, }, - { .name = "tbus", .bit = 27, }, - { .name = "robosw250", .bit = 31, }, - { }, + { + .name = "disable_gless", + .bit = BCM63268_CLK_DIS_GLESS, + }, { + .name = "vdsl_qproc", + .bit = BCM63268_CLK_VDSL_QPROC, + }, { + .name = "vdsl_afe", + .bit = BCM63268_CLK_VDSL_AFE, + }, { + .name = "vdsl", + .bit = BCM63268_CLK_VDSL, + }, { + .name = "mips", + .bit = BCM63268_CLK_MIPS, + .flags = CLK_IS_CRITICAL, + }, { + .name = "wlan_ocp", + .bit = BCM63268_CLK_WLAN_OCP, + }, { + .name = "dect", + .bit = BCM63268_CLK_DECT, + }, { + .name = "fap0", + .bit = BCM63268_CLK_FAP0, + }, { + .name = "fap1", + .bit = BCM63268_CLK_FAP1, + }, { + .name = "sar", + .bit = BCM63268_CLK_SAR, + }, { + .name = "robosw", + .bit = BCM63268_CLK_ROBOSW, + }, { + .name = "pcm", + .bit = BCM63268_CLK_PCM, + }, { + .name = "usbd", + .bit = BCM63268_CLK_USBD, + }, { + .name = "usbh", + .bit = BCM63268_CLK_USBH, + }, { + .name = "ipsec", + .bit = BCM63268_CLK_IPSEC, + }, { + .name = "spi", + .bit = BCM63268_CLK_SPI, + }, { + .name = "hsspi", + .bit = BCM63268_CLK_HSSPI, + }, { + .name = "pcie", + .bit = BCM63268_CLK_PCIE, + }, { + .name = "phymips", + .bit = BCM63268_CLK_PHYMIPS, + }, { + .name = "gmac", + .bit = BCM63268_CLK_GMAC, + }, { + .name = "nand", + .bit = BCM63268_CLK_NAND, + }, { + .name = "tbus", + .bit = BCM63268_CLK_TBUS, + }, { + .name = "robosw250", + .bit = BCM63268_CLK_ROBOSW250, + }, { + /* sentinel */ + }, }; static int clk_bcm63xx_probe(struct platform_device *pdev)