From patchwork Thu Oct 25 07:01:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10655501 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 5A63414BB for ; Thu, 25 Oct 2018 07:01:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49A5A2B2FD for ; Thu, 25 Oct 2018 07:01:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 472622B343; Thu, 25 Oct 2018 07:01:53 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable 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 C00102B2FD for ; Thu, 25 Oct 2018 07:01:52 +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:Content-ID:Message-ID:Date :Subject:To:From:Reply-To:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=cClND5mNosojrJcvOYhmp4qslJj7IbkkL1gubhkBA+8=; b=SfeEHXNJ+ZEZUk coWfs9Po7h1kuB5KXhoprGe669jY1h4WzBgjcwFg2HtAiNGykUe8v5QFr7wog9TOMAoFOUY9t6MCO kW6oNbeQDmdt0kZjHuK0WqjmzEqEFf5DwTnjXDaV3VLoIJwHGxEny6vjIm1Tfagyf5mBzGj4oKloE C9B9J0vbGHTeuRgsWBffFbMnxKftufTGcCMdBKyTEKbTvNwOyUzQ5fxa18YJZNfEhC9G07GBjQWoL 82Jwwy0ZJGtv6Xk5b7bOHUcqbiFwkl3BEBLZ5taKJrF2wSGwLFRk2IH/aVc1xA0x+fZm4TvAZj7YW e/+eZeWSdcbJE/JtiwRA==; 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 1gFZeN-0001X2-Gj; Thu, 25 Oct 2018 07:01:47 +0000 Received: from mail-ve1eur01on0070.outbound.protection.outlook.com ([104.47.1.70] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gFZeK-0001V0-AK for linux-arm-kernel@lists.infradead.org; Thu, 25 Oct 2018 07:01:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FZZu8CrYuWvDottfVRK1TkP81rtTeBx/teN9S0gFtRE=; b=oZUUOskNu7PBwvb24M5pb3xinrlIxZ+fQpSKWoTDXDArknlyRlkVNtG7Y4yI7J6uwHqI2ZzwSmftJxeUE+S0BBkA4IUX+vN6JG/O3gsCs35osA77rvGT9PyDMF/utnZaxXPQ6XoUkLlXEBdwLvihKJyA70+2pPdf9khENCVYldM= Received: from VI1PR04MB4800.eurprd04.prod.outlook.com (20.177.48.221) by VI1PR04MB2077.eurprd04.prod.outlook.com (10.166.43.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.20; Thu, 25 Oct 2018 07:01:29 +0000 Received: from VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca]) by VI1PR04MB4800.eurprd04.prod.outlook.com ([fe80::c9af:2da0:2fc4:1aca%3]) with mapi id 15.20.1273.021; Thu, 25 Oct 2018 07:01:29 +0000 From: Vabhav Sharma To: "sudeep.holla@arm.com" , "oss@buserror.net" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "mturquette@baylibre.com" , "sboyd@kernel.org" , "rjw@rjwysocki.net" , "viresh.kumar@linaro.org" , "linux-clk@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel-owner@vger.kernel.org" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "kstewart@linuxfoundation.org" , "yamada.masahiro@socionext.com" , Leo Li , "shawnguo@kernel.org" Subject: [PATCH v6 0/6] arm64: dts: NXP: add basic dts file for LX2160A SoC Thread-Topic: [PATCH v6 0/6] arm64: dts: NXP: add basic dts file for LX2160A SoC Thread-Index: AQHUbDCNRgxCmjSoikOHMFhrVo0mjw== Date: Thu, 25 Oct 2018 07:01:28 +0000 Message-ID: <1540407376-24115-1-git-send-email-vabhav.sharma@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::21) To VI1PR04MB4800.eurprd04.prod.outlook.com (2603:10a6:803:53::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [14.143.30.134] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB2077; 6:K20oBWlJaW/fOidb7iSm2hxxeFjxS/o8EpX+x9ZduAIPIJ0MVVvDrmIhyFp9D7TkOP5bUSDTTlQ56D9KoyVUUWfOZIkAVgnFy9AoD3ql17QGZOlBGA44ykiBctlsyvZxiVjeJZHObWqIOXP+EkndeeM7jP91NQWJRqnAyvad7WM26hRMSbEiutKRIJe68T/4zLm37okeYLe6f4XaH6uPK02kciuLiYUSnLuiumI/NR2Bmjeci2ZMzWHrkVR4u/u1MDxQTDnd/GDe76OV1/CgGrjDZuYXj5z1BVEdxRjktoDfmEI22HAtbyVNYkZrIRNqsxNUxwkWMQEED8R5zE36aRINkCmbnZu7tGxrBuv8bM5oM5X/iZFIqkyL9arX6oC5Ap7P6treQ2NaSgL+aHPI+q21lzSGmz7Di3mywEaVrARNLJDMAsT9pWBeC7dU8Df+4BaySckfMANwfN/nXtEurA==; 5:6lBk6Q9DEbefpEaonwiBmJ3/QnUeRmInE8LdDyMNuuAvm3c5UxPrhCRBUI5PPwMRmnydpYuDnrjMf0+P2TZ8apGF6tApVpuEdp6fV7dmdkFVVLyM62yJ9RFiULlFP12cw4O3luD+JOGTMzkV6uThu6pvRfotJmituUdo2qvK7wA=; 7:e8c1dJkMnOK2lBpd4qAayLIkdzDDgPO6KG7y+GlYUPi02S+UaXZpq0oL+mX6G+e5TqWu+bv49PBMeFWONGAXFjV8j40rUoHxOpK6Jx77PjmI1ufxl6zmw2PBm4x7rYTNlVjkV+sHvfz9wEGWHvIhwQ== x-ms-office365-filtering-correlation-id: ef9a7e7e-4aa9-4035-ee61-08d63a47af91 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB2077; x-ms-traffictypediagnostic: VI1PR04MB2077: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231355)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:VI1PR04MB2077; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB2077; x-forefront-prvs: 083691450C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(366004)(346002)(376002)(189003)(199004)(5250100002)(2201001)(81156014)(476003)(68736007)(97736004)(54906003)(4326008)(86362001)(5660300001)(26005)(102836004)(478600001)(6486002)(81166006)(44832011)(316002)(2616005)(25786009)(486006)(36756003)(7736002)(71190400001)(110136005)(99286004)(52116002)(7416002)(105586002)(14454004)(71200400001)(386003)(55236004)(8936002)(6506007)(2906002)(256004)(106356001)(6436002)(14444005)(186003)(305945005)(6116002)(3846002)(6512007)(8676002)(66066001)(2900100001)(2501003)(53936002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB2077; H:VI1PR04MB4800.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Tq83Qp0TRiTS49iE4bI7v09u8bc5FG9L+7LO7gEx9+rVAO4hMe7caewm1T3rl7UNwDc9C5TyKHHd90vciO3xdNf+kLMZ0eyf4SEfyBSOVbEAQRkUSmSgvu4flCut4G8qcV4P1FlGoEkZZKGsfHunkTlGwxt9GsEQFVMF9MS38YdBTcvMhZ/FlDsHfl0HoV+iDCR6m37gRc0Wp4zN9dkt5HJmIprDy5gUAUhXQK5e28hPeTaa1yOBs2ET1RZc4gA+bYuTCMVNZ0CJpMI8qLuZqEJt0oykpyhf5PUDRuyif13cEeY8PV73ROvB3y6rn2tjSzx0hJb3ZGarcgao2yD5D1d4dhRaLFUiya75OEgRhfA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-ID: MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef9a7e7e-4aa9-4035-ee61-08d63a47af91 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2018 07:01:28.9513 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB2077 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181025_000144_385674_2B490FF5 X-CRM114-Status: GOOD ( 17.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "ulf.hansson@linaro.org" , Udit Kumar , Pankaj Bansal , "linux@armlinux.org.uk" , "adrian.hunter@intel.com" , Varun Sethi , Vabhav Sharma Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Changes for v6: - Added comment for clock unit-sysclk node name in SoC device tree Changes for v5: - Updated temperature sensor regulator name in board device tree - Sorted nodes alphabatically and unit-address in SoC/board device tree - Identation, new line update in SoC/board device tree - Updated nodes name as per DT spec generic name recommendation in SoC DT - Updated macro define for interrupt/gpio property - Updated i2c node property name scl-gpio - Removed device_type property except cpu/memory node - Added esdhc controller nodes in SoC/RDB board device tree - Added aliases for uart/crypto nodes - Add SoC die attribute definition for LX2160A Changes for v4: - Updated bindings for lx2160a clockgen and dcfg - Modified commit message for lx2160a clockgen changes - Updated interrupt property with macro definition - Added required enable-method property to each core node with psci value - Removed unused node syscon in device tree - Removed blank lines in device tree fsl-lx2160a.dtsi - Updated uart node compatible sbsa-uart first - Added and defined vcc-supply property to temperature sensor node in device tree fsl-lx2160a-rdb.dts Changes for v3: -Split clockgen support patch into below two patches: - a)Updated array size of cmux_to_group[] with NUM_CMUX+1 to include -1 terminator and p4080 cmux_to_group[] array with -1 terminator - b)Add clockgen support for lx2160a Changes for v2: - Modified cmux_to_group array to include -1 terminator - Revert NUM_CMUX to original value 8 from 16 - Remove รข LX2160A is 16 core, so modified value for NUM_CMUXX in patch "[PATCH 3/5] drivers: clk-qoriq: Add clockgen support for lx2160a" description - Populated cache properties for L1 and L2 cache in lx2160a device-tree. - Removed reboot node from lx2160a device-tree as PSCI is implemented. - Removed incorrect comment for timer node interrupt property in lx2160a device-tree. - Modified pmu node compatible property from "arm,armv8-pmuv3" to "arm,cortex-a72-pmu" in lx2160a device-tree - Non-standard aliases removed in lx2160a rdb board device-tree - Updated i2c child nodes to generic name in lx2160a rdb device-tree. Changes for v1: - Add compatible string for LX2160A clockgen support - Add compatible string to initialize LX2160A guts driver - Add compatible string for LX2160A support in dt-bindings - Add dts file to enable support for LX2160A SoC and LX2160A RDB (Reference design board) Vabhav Sharma (4): dt-bindings: arm64: add compatible for LX2160A soc/fsl/guts: Add definition for LX2160A arm64: dts: add QorIQ LX2160A SoC support arm64: dts: add LX2160ARDB board support Yogesh Gaur (2): clk: qoriq: increase array size of cmux_to_group clk: qoriq: Add clockgen support for lx2160a Documentation/devicetree/bindings/arm/fsl.txt | 14 +- .../devicetree/bindings/clock/qoriq-clock.txt | 1 + arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 119 ++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 766 +++++++++++++++++++++ drivers/clk/clk-qoriq.c | 16 +- drivers/cpufreq/qoriq-cpufreq.c | 1 + drivers/soc/fsl/guts.c | 6 + 8 files changed, 921 insertions(+), 3 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts create mode 100644 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi