From patchwork Thu Oct 4 01:03:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vabhav Sharma X-Patchwork-Id: 10626171 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 7B3FA15A6 for ; Thu, 4 Oct 2018 13:23:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A08A29154 for ; Thu, 4 Oct 2018 13:23:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DDE329157; Thu, 4 Oct 2018 13:23: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=-1.9 required=2.0 tests=BAYES_00,DATE_IN_PAST_12_24, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 DD13229154 for ; Thu, 4 Oct 2018 13:23: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: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=EFcG0ph7p4ra/+uBdG6ibpMOh1uXM/grpKG6jRYbsto=; b=ThCztxIZvEANWa GSMqLtlult5w7YWPm6byTwcyQK+7UCtQB6xsMrPtsZlOiSFIgIVE+ozb6tmYLGsZ1FeXfiDoziUgx K0xgZCb5p05HJKUUUXZIJ77pqTg0opLHeUbHhHDC71m7IC1C5Xvvtwib/h0bpWrfrKtk8/uXgrMXt obsn4mm1HQBcZ9ffXCYeDrcyMlbi6w5WrApgK9SOVyF6Bwt490G70oi9jiLyiP+UsY6xY3ZGbDkHG /fRPBZf5t5z7sMSjeLR+teRAK0vvINsAoK7pStujbVb7kSIRIFddOjHfVTw0GJvHsrrrmfClSiGJ8 GzcXCDeMzReGFlqWYQEA==; 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 1g83bX-00038G-Qr; Thu, 04 Oct 2018 13:23:47 +0000 Received: from mail-eopbgr00079.outbound.protection.outlook.com ([40.107.0.79] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g83NU-0003Fk-Qp for linux-arm-kernel@lists.infradead.org; Thu, 04 Oct 2018 13:09:58 +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=uBUYz0ZAKkYCX+vb0d2FcxP8RwdATIPUWCf29kJ00mk=; b=GTXBHlPpLD3uepooUf0el2fz3d9vf8AC+4opxEl4Ks1YJKw3SzZSerdJXq02/fyMIWpBagErIOzoIsccso2P+2QItvnqH5T2+aAG4LahFrDuWKDAgzWshERpoXV1ldGCY9+zaOZIWptK5D/QxMv4+xsfpCDugEG4NBMqzqdLRqM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=vabhav.sharma@nxp.com; Received: from uefi-OptiPlex-790.ap.freescale.net (14.143.30.134) by AM6PR04MB4792.eurprd04.prod.outlook.com (2603:10a6:20b:3::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.24; Thu, 4 Oct 2018 13:08:58 +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, leoyang.li@nxp.com, shawnguo@kernel.org Subject: [PATCH v4 0/6] arm64: dts: NXP: add basic dts file for LX2160A SoC Date: Thu, 4 Oct 2018 06:33:45 +0530 Message-Id: <1538615031-7507-1-git-send-email-vabhav.sharma@nxp.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: PN1PR0101CA0006.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::16) To AM6PR04MB4792.eurprd04.prod.outlook.com (2603:10a6:20b:3::29) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 21a3ea9b-bbad-4d86-b0b2-08d629fa8ec6 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4792; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4792; 3:8XCplk60EZHXf3taaIklrEix0W+8tiRC4A68EWf3y+m6hnfDRWGGU7M/mZ9XloK3FZVFFP2EJYid7Th4ZepU3s82NpH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saoAGp0GkHLGOVdmNXFJWRtgj2+3xnjC8uC2nDzFimhzFpRstD71sSrFzhYmIZbLzytofr/Y6EC8H0s60F+ywJ/BxFWN9bNoHXBJfv1oIuvBNBCgoHDj0fSuuao40yQashlTDgpIqMSVxgp9GHcQD5ZTLYMukUF/NLKrnjHvP0qAR31qkZVbwNN5CRMeVSVuad0w3EFGyJxy71ROaJm9bONqSqbaADQhvGdCgN2Kv7Uj2QKld/Vkkzvzn28dapymD; 4:VZdlRnpAD8luoSIq2KoQ8nCA7QU142FH31sJUa2G8Vp/9bTF+4RC6Vhn/bqt7RGZqgqbw42lGhhFtT8Stf6Pc4J5bTl0q5AIBGz8wHPNhIhfHwvt90lN1Is77FcBqdo04htc6161VMY2BqBB1M4jzIvSbW2Z7Uq1++G2moxxGVbb6D77XFFXgOoKtSIlO7fOWtoFWtoTY2lu9x0FFhKizD0oxdVUANQzxOyzmqmLSeNvcSNzWk60mcY8r4xeN8/UGMc3CHNAXlrkhPDEdMnsmA== 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)(8121501046)(5005006)(3231355)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:AM6PR04MB4792; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4792; X-Forefront-PRVS: 0815F8251E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(136003)(346002)(376002)(366004)(199004)(189003)(97736004)(106356001)(8936002)(305945005)(3846002)(7416002)(6116002)(7736002)(6486002)(81166006)(6512007)(478600001)(2906002)(53936002)(50466002)(68736007)(5009440100003)(105586002)(55236004)(6506007)(2616005)(956004)(36756003)(386003)(16526019)(316002)(476003)(5660300001)(86362001)(66066001)(186003)(44832011)(25786009)(486006)(6666003)(26005)(2870700001)(8676002)(50226002)(23676004)(52116002)(81156014)(47776003)(4326008)(110426005)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4792; H:uefi-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BAM6PR04MB4792=3B23=3APxwhHVh?= =?utf-8?q?PI4ruyZ6DchSpnMWkJAdI0SEbPdkKYo5miScj4JxgcGmWwvkfD8wJmKuJXvX7K2BT?= =?utf-8?q?0DueQFnMOfblBLMElvvb2Y1BgySUu+YjY9PMxwWuLzLYPNdwnAi6bXzizDJZFW2Oh?= =?utf-8?q?wLqC0wYE5OyGmg/fKEW2qRrLo4w79EQl7R7Jyyz45Mt0t6nOui7t+G/lv198KyKot?= =?utf-8?q?mdwycxCnk+psZqcTsXyulIQfUqsfD9iiFdpvdV3Qlt6g3AZBoFmPCM/U6oo33s/RM?= =?utf-8?q?hhYzzFp+wBLSl4l/MQukYPs/n1XtKjbQfwPOI41xAT1y/aOMRcJ6eaKnhsVUSvCup?= =?utf-8?q?GJI4sMDpPV3bYhndnydxG3sQXpY/8Vk8oSUVfDKw1ZgDMm/3ZGsQ8sPcJn8BSDlBp?= =?utf-8?q?IQOOjNN6pNhWFQ+D0BwSCkTdTch8JpmLl/Vf+PfMSFruaYmgql4sxZKTlo+Lt1xYW?= =?utf-8?q?Y2NcwoN37S6O0RJFhYiPHxAkxbsTZPZTWDwZrTkYK4dHzmfpgaIy+4WVrIb5CEAGM?= =?utf-8?q?1D0r/S86S3vyuARZgxa9MsKU4Z/yW4SO5OZI+1OuMzqGoaROHW/bs/TL0Fk/wgdKu?= =?utf-8?q?AFNFgwMkaPA78DweYU6fHOiBltfs529e/FX6JtE+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f+MKYoKlFCAqR/ZSmVsfn70sc3C4NE= X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4792; 6:+EFQfvggGvnm/NGx2C/iUii/3QWFrP9Kp2isWeHjkPS8ioRgGvNJ/OnHuz7FxeDdY9GaSJVogGyVBM0V5Oc+T5lxeKIRjNjOpnkVkxc7WhEtdI3X14RABXSg4pRXfoTqPGbqsc6O2q0fC/kzIttf08k90jMECp12VBjTT7ZkS1i73b80g1KBjS676QAmZU6cVU88S/ycB9SR853gyWMBHCUaR6y1lXbfuzJpj+ki/i7hoW2zwsuHkP2LtrcATYfQ4uarlA/gOLFE63NdjfUZfkIUSUfwJK1VUTpIhaCA/iZUmcvJEsJQ0en3yQK3JarXOBECjwfZo6IfSlGt1EkEtdRMinnoBJsOTaYHrU70ZDqQQb9dCHA0m5sWVYVVl1t+MHIyANyZsj7/Ieo70vs+n6z9j3clgrcnKEYWNojkuT7ftgoeBc7fP6dDd8gqet+yc9KlaDZh048QJdA5LLeiDQ==; 5:/bGYbduBpeXniy8FhNKTSWdjkXf9ZoUtorZeXEm+QeewJb/aY9gVSilIBgPBsxlvjxeScdY+HKVyb2/o8kycYhf8/0p7qIgRW6d32InNYaQRn0KU09c5518/o9871L61YpAY6iD82fYMOx38jucMVimES4z0O21EPbQJFlwCOfc=; 7:QRmZvjkBAADW640Xj7ScNHjMbswWxTeEHinNaHjslJBdPnhKWX2UV86+NxbHUhoSXPUvI4On/Ynx57V7ggoLZL+CvsxVzz+knya8gcGC6zXAPGgrSRCl5n7XUFoc/F2Yv0IzGj5195mqubTiAosPCPsd0mgjpwFQjfb8cRUqwj5YPWxVx5bHhGZsekEOA39lB03DtJhite7aAts/5mfXpZZmvLRWP0P9o/m1MhkrUcAHNHGyiLPJTeVVUDL1ekn4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2018 13:08:58.6575 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21a3ea9b-bbad-4d86-b0b2-08d629fa8ec6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4792 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181004_060916_931541_E3CBA5C3 X-CRM114-Status: GOOD ( 14.17 ) 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: pankaj.bansal@nxp.com, udit.kumar@nxp.com, linux@armlinux.org.uk, Vabhav Sharma , V.Sethi@nxp.com 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 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 “As LX2160A is 16 core, so modified value for NUM_CMUX” 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 compatible string 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 | 100 +++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 702 +++++++++++++++++++++ drivers/clk/clk-qoriq.c | 16 +- drivers/cpufreq/qoriq-cpufreq.c | 1 + drivers/soc/fsl/guts.c | 1 + 8 files changed, 833 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