Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp7596764ioo; Fri, 3 Jun 2022 09:32:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4LgdzS8cXshbqsDmDKpKbPq1QjolfEukj+DH7t1sGY4Gx44XGXdhvlmDVZdq6Bc2J/ynW X-Received: by 2002:a63:8742:0:b0:3fd:431a:dd70 with SMTP id i63-20020a638742000000b003fd431add70mr1221145pge.141.1654273956160; Fri, 03 Jun 2022 09:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654273956; cv=none; d=google.com; s=arc-20160816; b=GwTK0PAb4CJWGEHFHfTadqc9w5E9SWj9ja740+H1SKKEmhDoWa4SmsHgelE4BNPZTK xFRJ8BEZmaYlUqJZxc9YPTrG4HY5JlEhJRsNdfE/RJ3jLOa0rT3o1dOmNaxcn/E2YoT7 u4aYZh4aWDs9x4Sw8Alm3ZFKrBx+bxfNbO2CH3Ca3rBHKU6D7pw6PDXlwf+wBeoxvuiY dbLSEr+FuZdem2MTaHcNN7E3NJs9/XJjOnbJkd2AxbwPCZeQLR0K/heRi2Uzm5wOnQBV l4BlHZZz+oVUdwlbKFguKJqM/k26OCl4RMkTj0TZWz+qlT7zGwBv7u5yx92uERhLbY/S E6GQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ThF+bE6VeK0j1vSKcfgZdM6dCaZpHYiSwSb/9WDFbTY=; b=BQvZnd7OsGDrRhfl9EXeqrlNiXeZqENs4M6DPcqnyo0oOMI67XS4pmDSAc+XrWCWLp q3vIUmyXxmBjMwjE/h5t7uWFfcYdr911WdGuruyZxfq2rnHuIkG0RWNbG4gj3jZG/rkg i/GcueUckrOv37VFah2CaaB7s/NV/HOHbBZngeTJDfd2QUvyS5X04KlR2yi4cimXZUei fPN42sM/aMK8dRRMlJ1f6YULR/CVVdleS67Ii3uszPR9FHzLkegb/+ETho6snh/+px1v 1suqifTVyPSOoBjhlDJ7s7Se3cC7FQiBNKRJ7Qihm4QaYJRVjZ0RpjkaWGXqxR80F0Fc JL7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=exbGzCUx; 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 l13-20020a63ea4d000000b003862e2b721dsi10021354pgk.129.2022.06.03.09.32.18; Fri, 03 Jun 2022 09:32:36 -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=exbGzCUx; 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 S234920AbiFBMWI (ORCPT + 99 others); Thu, 2 Jun 2022 08:22:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232097AbiFBMWG (ORCPT ); Thu, 2 Jun 2022 08:22:06 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE56010A7 for ; Thu, 2 Jun 2022 05:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654172525; x=1685708525; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=K0RnMTtm6/0xuSTlPAD0Tp2bmCGrrymvRxF7juGErjQ=; b=exbGzCUxM3yYbbkCAPKN7YqkPkcTu0aHlUH+E1EcPS5GlEM7z4gCMQSk YB/8ecN5tNdgDwpEWd0H+ur72MnIZ0R7yNQUgW3+47l+ctlfs908j3Ji5 tQzqBPSRJkfKFyOtQvCDD0v0RbIY0hQj9dFtS5iTyjV9+mRABLQuwZ6hG Yz75lhmKZikthFYZRRH1C8LfF9hy/PDZWRt+JawCqL106wztWqJwE7x9r DeSKFRdodyWEONTyizxn8d1w4yYLr1dEZsMe0UzbdFJe0miGsNZUHwVlP 8kyBqSopTkI+LVC5qu370MWLJ589SDYF70acDZVeaYC+vPOz9M2opR/kj g==; X-IronPort-AV: E=McAfee;i="6400,9594,10365"; a="275939420" X-IronPort-AV: E=Sophos;i="5.91,271,1647327600"; d="scan'208";a="275939420" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2022 05:22:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,271,1647327600"; d="scan'208";a="612798886" Received: from unknown (HELO localhost.localdomain) ([10.226.216.117]) by orsmga001.jf.intel.com with ESMTP; 02 Jun 2022 05:22:03 -0700 From: kah.jing.lee@intel.com To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, dinguyen@kernel.org, tien.sung.ang@intel.com, Kah Jing Lee Subject: [PATCH 0/2] New driver for Intel(Altera) FPGA System ID softIP Date: Thu, 2 Jun 2022 20:20:09 +0800 Message-Id: <20220602122008.3021030-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 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 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: Kah Jing Lee Hi, Patches have been internally reviewed by colleagues at Intel. New sysid driver for Altera(Intel) Sysid component is generally part of an FPGA design. The component can be hotplugged when the FPGA is reconfigured. This patch fixes the driver to support the component being hotplugged. Thanks, KJ Kah Jing Lee (2): drivers: misc: intel_sysid: Add sysid from arch to drivers dt-bindings: misc: Add the system id binding for Altera(Intel) FPGA platform .../misc/intel,socfpga-sysid-1.0.yaml | 39 +++++ drivers/misc/Kconfig | 9 ++ drivers/misc/Makefile | 1 + drivers/misc/intel_sysid.c | 142 ++++++++++++++++++ 4 files changed, 191 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/ intel,socfpga-sysid-1.0.yaml create mode 100644 drivers/misc/intel_sysid.c -- 2.25.1