From patchwork Fri Dec 16 18:35:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hawkins, Nick" X-Patchwork-Id: 13075287 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 12056C4332F for ; Fri, 16 Dec 2022 18:38:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=CGmZ9m/mCSadtKMzKyiTB/akef+U6xwb6wFVyqQ2Eqc=; b=gogjDISOIjnwdJ zJUDVuXJohe93zc1wK4Y0aWn/cl2GUc6AC6fzWI/Q8MDJgWN7cGLoDScA8NrvxHnhY/RjoIbehS4X BpD67K7c3RdQyqOHlYoTK9X1E7UkycLvsifDhqKih5mq0qvYZr40LNU9LVspl1uxfxpJDOC0PFbCv SYRvgzTrX0KgCfEwxXOtdDsER4US10HbIveZecFAJrAkt4IBlD1KO3q9kj1JhwAyeCSxmk1OIYBZv 6Ic60+3BCOBniB+Xv/FT9kA+eYOHPrAQtK1qfvlo9lGPVa9KkHCFwSb87hpmyrkEPm6YUs0wEisVc 0Y/Bd4oOJDm2I3hvdXVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6Fad-00HHTe-5s; Fri, 16 Dec 2022 18:37:47 +0000 Received: from mx0b-002e3701.pphosted.com ([148.163.143.35]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6FaH-00HHAc-Hi for linux-arm-kernel@lists.infradead.org; Fri, 16 Dec 2022 18:37:28 +0000 Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BGI8655015728; Fri, 16 Dec 2022 18:37:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id; s=pps0720; bh=JGznEBvqolHM8sVI9Mvu5DgoJw84DIiaRFIzqstSSpM=; b=VcaN4WrC700LnJDaF6SGnyKmcDA+zdINuvzMH1J9dKxCs/hAwm0RhuBkvA/q1/xFYMT2 i7Tvv0z56ovZfkn3ei3sPJcTuiU2S8l//Z+2TLuFWMQSIE9yuKfvFAlwdCjD7LbyglTM FjTpe+wOWb7o2EGKbVXk2BZgMVvMbYLmJjOQ/CCczWUiBSE2rPnUM3cGRszrEDF84p4Q GGsY/cUWBE3Ja7Nk49V+C4XIRxgEfIaQHD4moof6TP8jCaGL1DV9pKwBU10rIA1PuLq3 hFVKZt2a491p2AHb1A/DrY5PSEzk/ikrGNYTgOlhXtKEWhWpWDXO+grY1U9D5N4u3e9d QA== Received: from p1lg14879.it.hpe.com (p1lg14879.it.hpe.com [16.230.97.200]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3mgwp405cu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Dec 2022 18:37:06 +0000 Received: from p1lg14885.dc01.its.hpecorp.net (unknown [10.119.18.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by p1lg14879.it.hpe.com (Postfix) with ESMTPS id 72E3F310AC; Fri, 16 Dec 2022 18:37:05 +0000 (UTC) Received: from hpe.com (unknown [16.231.227.36]) by p1lg14885.dc01.its.hpecorp.net (Postfix) with ESMTP id 79817805745; Fri, 16 Dec 2022 18:37:04 +0000 (UTC) From: nick.hawkins@hpe.com To: verdun@hpe.com, nick.hawkins@hpe.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, linux@armlinux.org.uk, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 0/6] ARM: Add GXP I2C Support Date: Fri, 16 Dec 2022 12:35:26 -0600 Message-Id: <20221216183532.78933-1-nick.hawkins@hpe.com> X-Mailer: git-send-email 2.17.1 X-Proofpoint-GUID: UsNOGp3-6jZl_2jPCqfGo-PAOZ0AnNn9 X-Proofpoint-ORIG-GUID: UsNOGp3-6jZl_2jPCqfGo-PAOZ0AnNn9 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-16_12,2022-12-15_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=663 impostorscore=0 mlxscore=0 malwarescore=0 bulkscore=0 spamscore=0 clxscore=1011 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212160162 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221216_103725_808685_EF8FEC10 X-CRM114-Status: GOOD ( 14.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Nick Hawkins The GXP SoC supports 10 I2C engines. Each I2C engine is completely independent and can function both as an I2C master and I2C slave. The I2C master can operate in a multi master environment. The engines support a scalable speed from 8kHZ to 1.5 Mhz. Nick Hawkins (6): i2c: hpe: Add GXP SoC I2C Controller dt-bindings: i2c: hpe,gxp-i2c dt-bindings: mfd: syscon: Document GXP register compatible ARM: dts: hpe: Add I2C Topology ARM: multi_v7_defconfig: add gxp i2c module MAINTAINERS: Add HPE GXP I2C Support .../devicetree/bindings/i2c/hpe,gxp-i2c.yaml | 63 ++ .../devicetree/bindings/mfd/syscon.yaml | 1 + MAINTAINERS | 2 + arch/arm/boot/dts/hpe-bmc-dl360gen10.dts | 72 ++ arch/arm/boot/dts/hpe-gxp.dtsi | 115 ++++ arch/arm/configs/multi_v7_defconfig | 1 + drivers/i2c/busses/Kconfig | 7 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-gxp.c | 641 ++++++++++++++++++ 9 files changed, 903 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/hpe,gxp-i2c.yaml create mode 100644 drivers/i2c/busses/i2c-gxp.c