Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5128238rwb; Mon, 31 Jul 2023 19:13:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6j0YlA/r3vhCUJssgAcVbORnBAefRBrLWKi5kBuyD30fzdJKMvCFXbGW03fVqqsGIjc1o X-Received: by 2002:a05:6512:20c1:b0:4fd:faa3:2352 with SMTP id u1-20020a05651220c100b004fdfaa32352mr961065lfr.14.1690855998902; Mon, 31 Jul 2023 19:13:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690855998; cv=none; d=google.com; s=arc-20160816; b=kFuICmq+LU64fTkw0HhMHvvjXvdtkaVgzgp5VQLXnArsO4K377qYrAOc61LoJIXziN lDZOgo9tUWaIM67askd9WzrYb+/Q1Lzk0NI7H5tzUY1L0CtqUbvmyPcUc8PyTaBgMTjB KZTOnG7d5IPE+zVM4pWRjZqOzAI3/HS+mkHxmhdP1qM+At9MO69TicBXir3YF8mMU1em lTrXn5MkBN41IfLDgHxPVp3WKQQuX22tIEwxbl741kCuWiJtl+Hd7x5RQropM0XpbBYw vu/i4zhVgvLz14zhkNhfnB9gKLOjuxkxZhYJnFaQHUiHpJIss00APIM5hiku5u51p/xA pcuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LYuygSzZpCdfshAHBodDpExYCZaHDJmQI2zULbO4stc=; fh=gPqzZeHQI1RKfPu39hVCJq4Ad8ofgauOvEuoB1D+sAo=; b=PAc+DcmwYmtADgR51+u3xsWobc8n2VvUOZZ2OPYCA6Hw5+xPhMZax7oZR9/zG+vfvZ AUKU8kR7YgraYx61/8oavFZ/yAlVk/jkpQLwhkM6NoWBk2JdEPcEuedx4nMXzuawrbkS VbCx2ZgjqaSuRFaYAoCPi2keRy1O8XHsI8INDa/ihI96s5AFz75i5P1TRFYjYc1dVUun XM8ZtrAhiRTghShh2nMSSubxSvZcwalZz7yG5W95lIiMSZ+lrqwhbaqaJJil6aWfNTiC 8j3r1s6Fq+SR+vg7x6GNVRWlsHjnS6v1VvQQ6CZEjw+9dDBeN0+hf9QKKWZiP8ZikrSV A+Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T32jxPz4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j21-20020a50ed15000000b005221f13c094si7351290eds.256.2023.07.31.19.12.51; Mon, 31 Jul 2023 19:13:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T32jxPz4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231442AbjHABFq (ORCPT + 99 others); Mon, 31 Jul 2023 21:05:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjHABFp (ORCPT ); Mon, 31 Jul 2023 21:05:45 -0400 Received: from mgamail.intel.com (unknown [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD951E67; Mon, 31 Jul 2023 18:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690851944; x=1722387944; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LugKS1Vo2+CJW/PSQHJ6vgOFbm+zdpKgIA3lwNdw6Rw=; b=T32jxPz4VwN83KPpPXy+Z81aj3fQsbGbOVZJlSUoLCQBS/7OrVcIm+tt jlRMbA5+nzfejSmdEbynUFLb/WTsxJZIL30HvyonXB/PJ2+/XSBqwM0m4 gvonR9T376a6ORxf6M+FZIe9IT9UJJhtMcvxbCLPolgdrN7ocuvcM+lNz T6MxhsAEKGFa7NaeyjFXDgckqI5+cNploxooMzZI5wSb89ZRudi2XKK6V zpm079RTALgi+6XwaVSonpGorfnX+9gs+V/WbNQi/UlxKmf3U2WMIwubA TP5TTqtpVrgcedyD8kVDEkM1WJ9hDTOh2ZDW5AALDryJlAPVRNt4kZr8x g==; X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="372787916" X-IronPort-AV: E=Sophos;i="6.01,246,1684825200"; d="scan'208";a="372787916" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2023 18:03:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10788"; a="818587406" X-IronPort-AV: E=Sophos;i="6.01,246,1684825200"; d="scan'208";a="818587406" Received: from unknown (HELO localhost.localdomain) ([10.226.216.116]) by FMSMGA003.fm.intel.com with ESMTP; 31 Jul 2023 18:03:50 -0700 From: niravkumar.l.rabara@intel.com To: niravkumar.l.rabara@intel.com Cc: adrian.ho.yin.ng@intel.com, andrew@lunn.ch, conor+dt@kernel.org, devicetree@vger.kernel.org, dinguyen@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, mturquette@baylibre.com, netdev@vger.kernel.org, p.zabel@pengutronix.de, richardcochran@gmail.com, robh+dt@kernel.org, sboyd@kernel.org, wen.ping.teh@intel.com Subject: [PATCH v2 0/5] Add support for Agilex5 SoCFPGA platform Date: Tue, 1 Aug 2023 09:02:29 +0800 Message-Id: <20230801010234.792557-1-niravkumar.l.rabara@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230618132235.728641-1-niravkumar.l.rabara@intel.com> References: <20230618132235.728641-1-niravkumar.l.rabara@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Niravkumar L Rabara patch [1/5] - Introduced compatible string for Agilex5 board. patch [2/5] - Add Agilex5 reset ID definitions. patch [3/5] - Add Agilex5 clock manager header and yaml file. patch [4/5] - Reused and modified Agilex clock manager driver for Agilex5 to avoid code duplication. This patch depends on patch 4. patch [5/5] - Add device tree files for Agilex5 platform. This patch depends on patch 1,2,3 & 4. patch v2 changes:- - Add separate discription and const for Agilex5 board in yaml file. - Add reset ID definitions required for Agilex5 and reused altr,rst-mgr-s10 bindings similar to Agilex. - Instead of creating separate clock manager driver, re-use agilex clock manager driver and modified it for agilex5 changes to avoid code duplicate. - Fixed device tree alignment issues and other build warnings. Removed ethernet nodes as it will be included in a separate patch. Niravkumar L Rabara (5): dt-bindings: intel: Add Intel Agilex5 compatible dt-bindings: reset: add reset IDs for Agilex5 dt-bindings: clock: add Intel Agilex5 clock manager clk: socfpga: agilex: add clock driver for the Agilex5 arm64: dts: agilex5: add initial support for Intel Agilex5 SoCFPGA .../bindings/arm/intel,socfpga.yaml | 5 + .../bindings/clock/intel,agilex5-clkmgr.yaml | 41 ++ arch/arm64/boot/dts/intel/Makefile | 1 + .../arm64/boot/dts/intel/socfpga_agilex5.dtsi | 468 ++++++++++++++++++ .../boot/dts/intel/socfpga_agilex5_socdk.dts | 39 ++ drivers/clk/socfpga/clk-agilex.c | 433 +++++++++++++++- .../dt-bindings/clock/intel,agilex5-clkmgr.h | 100 ++++ include/dt-bindings/reset/altr,rst-mgr-s10.h | 5 +- 8 files changed, 1089 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/intel,agilex5-clkmgr.yaml create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi create mode 100644 arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts create mode 100644 include/dt-bindings/clock/intel,agilex5-clkmgr.h -- 2.25.1