Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6373335rwb; Tue, 22 Nov 2022 12:24:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Z43W/H3wO5ho/PpfowIsVhq6S7YCS6ja80KlJYKDhAk2O7gV6fdqrx8Mx35OYoNUptImt X-Received: by 2002:a17:906:692:b0:7ad:49b8:1687 with SMTP id u18-20020a170906069200b007ad49b81687mr11095616ejb.407.1669148695521; Tue, 22 Nov 2022 12:24:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669148695; cv=none; d=google.com; s=arc-20160816; b=MUwMf7q6FGDO65z6IDLrWD0/dSDxdtiERVr6rXLLyANHpCJlmW7BZc1TrR75JHe0dj V6lPgIgGs0CT38TKVTUOhpxySSVQpIZ/HAF1K8R8OflEZQ8hvwEteDqHwwsPigoLLSWg JhqSSUIP+L1YPhWvCpT2DK2PiLh8n5Seb8n+I+OtaY28Cfewz6I54BpVoIzIr2GGDqSH 6sltzM5BiR7m71SqqSjzrvq/R+yOQH3bgMLvXPlh86A9JjIWZMbyQyLWRu3AyC+yx9RO q/KKbWe+dlEqCvRaiUHd3BykgIsnSDiHpi74Zfm06D/lNpsV+m2Vl4dSogW2w4l//rsG Aj/w== 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; bh=b6SR3qXTC5XW2K/4aSB7WyD+JmCfpdalpF/IJvZSLA8=; b=NZV7CvQyRseOaOt1HJz0ciRZir+rCzl6CXEEn6osyvO+Xm62MWN9YLu0JvCXCrqs1d VywMu+nY7tnaIW30ddMZh8ZgVGChJQj0iy2l8ivjsOXjSgs/Ud9DZ9jkTv6HiN0GVCj3 7vAvwkjrFeY7za07rcfPn3yaJDbTGVn76cKpKgKE+JF9KMrlUYe+d/fehoHcUr+oaWdu hnRoC3JgoSFa7lS2Pb3uWepB/88foJ2/c9YURLsudxToCyU2YJgTcKJOv9qziOhG3Sfw Def6GN+zVi7d+FZ+ssPsd/k1FSJPcxckxF6dVocj3RgS6e7ANJnQQqupjv+iluJwF16a yHHw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a056402520800b0045d25cf222csi2810621edd.362.2022.11.22.12.24.33; Tue, 22 Nov 2022 12:24:55 -0800 (PST) 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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234697AbiKVUMz (ORCPT + 89 others); Tue, 22 Nov 2022 15:12:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234754AbiKVUMq (ORCPT ); Tue, 22 Nov 2022 15:12:46 -0500 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF3F7A192 for ; Tue, 22 Nov 2022 12:12:38 -0800 (PST) Received: from NTHCCAS01.nuvoton.com (NTHCCAS01.nuvoton.com [10.1.8.28]) by maillog.nuvoton.com (Postfix) with ESMTP id 722A11C8116A; Wed, 23 Nov 2022 04:12:36 +0800 (CST) Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 23 Nov 2022 04:12:36 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS01.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2375.7 via Frontend Transport; Wed, 23 Nov 2022 04:12:35 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 2301663A0A; Tue, 22 Nov 2022 22:12:35 +0200 (IST) From: Tomer Maimon To: , , , , , , , , , , , , , , , CC: , , , Tomer Maimon Subject: [PATCH v1 0/2] soc: add NPCM LPC BPC driver support Date: Tue, 22 Nov 2022 22:12:30 +0200 Message-ID: <20221122201232.107065-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_PASS autolearn=no 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 This patch set adds LPC BIOS Post code (BPC) support for the Nuvoton NPCM Baseboard Management Controller (BMC). Nuvoton BMC NPCM LPC BIOS Post Code (BPC) monitoring two configurable I/O addresses written by the host on the Low Pin Count (LPC) bus, the capture data stored in 128-word FIFO. NPCM BPC can support capture double words. The NPCM LPC BPC driver tested on NPCM750 Olympus board and NPCM845 EVB. Tomer Maimon (2): dt-binding: soc: nuvoton: Add NPCM BPC LPC documentation soc: nuvoton: add NPCM LPC BPC driver .../bindings/soc/nuvoton/npcm-lpc-bpc.yaml | 112 +++++ drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/nuvoton/Kconfig | 24 ++ drivers/soc/nuvoton/Makefile | 3 + drivers/soc/nuvoton/npcm-lpc-bpc.c | 396 ++++++++++++++++++ 6 files changed, 537 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/nuvoton/npcm-lpc-bpc.yaml create mode 100644 drivers/soc/nuvoton/Kconfig create mode 100644 drivers/soc/nuvoton/Makefile create mode 100644 drivers/soc/nuvoton/npcm-lpc-bpc.c -- 2.33.0