Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4402242rdb; Thu, 28 Dec 2023 23:46:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9Lhrap0p7oGsD2FQ8SyC/O4seIaDz2A0BMKYZzY7matTb3Fr3SonsbNjHlXkXp7X6+RgZ X-Received: by 2002:a05:6358:5241:b0:175:3bf:fc48 with SMTP id c1-20020a056358524100b0017503bffc48mr4451292rwa.21.1703836002797; Thu, 28 Dec 2023 23:46:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703836002; cv=none; d=google.com; s=arc-20160816; b=CqPp8C2O3eSgUOsXDfbeNAFFSm4bOq3dUkgBjLgCVW65ysXsCdRB+ZNInsDo+vjTgl hBP7I4AS9v4lEqb2VdO40JAo4VYeSBCzxPlZVqF/gNvK2CHqSRGPFHaurwTpJEarITrq xB25ofSWIFmae9E8V4gYdDRLsUDdWm+RhGeXvuUkQv1SY1xNh0DbOJixbjvg3yWvcBBu KDHhCLzlq6xfBA5uICiDv4ljE7H/FUxGeAP+Op+NsfjCvvZ1Gi6WsmHZ1rgB49QCB2GR enwVLm6/pXEqJrF36KuA+dr8Rld1T6zNhJrlxCHR3fktz9nzLBwWAn6U8j9ApRK/Godb hy/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=raM42T0EIL2NcFESOuJEj10hSihrJvgpKQH+cdOXtTI=; fh=UOUFIXaP3V3zbDDCQj9JBBA8zvknbSKb3cqjJ0SiGkQ=; b=0giuL5Mr3aS+uZWsFsq+0JVtyyKdazzi4pmRy972gaImdv8Z0F5MsqSPNBR0qY3wed uqW23+2qe0a+ZPoW2vI79ltJWGlEflPnrML+qajL+d75vRjJU0S+UOb6a/PZB14vHi/j yyEVpdqJ7pp2EZmEzaFipSlyKMLiAcZa1DToUdCDEJGfwvc2wFDSHr4X3X3L4Ewtzvxw emRG47VYn072IME2BKH2DOUcYcq/j3MRNQ2VMAN6bwQG5Ye+jzphohqPRVJR3ujKDyx1 FtgLL7AXa6gjo1kWo4kejvr2QRajTJ2LnsuzlcJ430b+HFDuBkJeCwxAAwOl7Bf9yLV+ 6gnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HETnAPdD; spf=pass (google.com: domain of linux-kernel+bounces-12973-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h33-20020a63f921000000b005c660017567si14096036pgi.575.2023.12.28.23.46.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 23:46:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12973-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HETnAPdD; spf=pass (google.com: domain of linux-kernel+bounces-12973-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12973-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4ED62B21D53 for ; Fri, 29 Dec 2023 07:46:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 038C079EF; Fri, 29 Dec 2023 07:45:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HETnAPdD" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 039068F51; Fri, 29 Dec 2023 07:45:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f43.google.com with SMTP id 46e09a7af769-6dc07ce2a30so1055332a34.0; Thu, 28 Dec 2023 23:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703835935; x=1704440735; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=raM42T0EIL2NcFESOuJEj10hSihrJvgpKQH+cdOXtTI=; b=HETnAPdD/HilQP/nDTHprZRI5XLfXARlU9rECZySe2j1eTJoNs1TGIQO2qEUXvqiwj G13eqFgxaJdp2MBQYBKQcoZzTH+qv3gT+nz1CWO50Rt8oJ1XTFoFmW8ChFUL9gvRydw5 W8YHylfWOXbUQNmAiALgShpqk/TgaImrGNBvZLn/rv8rBSDYd/WDPz6+Kop9pZ7OWmRz 4cY+9eEDhQcVecvFt0+qxSXLIH+fqGL8T1br3RegImZkBA+6U6yCPdsPdpvqLwcui1FC xnkrwt3MYeZF8mKGKMUATgsYK7ffO9gNOZN3StyfuQi8IJzxZOBVXPn2dll7UZX5zmFN Jeng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703835935; x=1704440735; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=raM42T0EIL2NcFESOuJEj10hSihrJvgpKQH+cdOXtTI=; b=xLA4v3iFHzEfSlDtqn9P3cfoZRnrImhHuf+JIdBmVLgcnWZlRU3fl/ETKOhotTGU5Q AFy++db3sfQ/D0qapn8qKnnfcw0I/4UPp05BWJEFZ+dq1h2z41/zkh2oeMU/m5sBRedj kkBiu4EiZdXy0NXJma3zynN6QY/f6dQgLqO2Bg5ubaGSa7t6pupwGtzKxYcYXCB74twy M1XIvtg+cKcM77FfJx/Um0Mc3OIrRFgsST8YAf/wsoZKxx3Tx8a46BwKYN9pfPjO+tnj zAe8LXWxJpMr3OKz/BwICFmOkvS5lvbL6+dIvHJ7bB2WJYwER2U5rBAiT4AX1o+ELEY8 QfuA== X-Gm-Message-State: AOJu0YxIpseCTtwKw/npQ9+7Ufs9uT2b31PXOqPpaShBb5nUVljkEunw yi8ea6+oDMSiw4mWXsfhecc= X-Received: by 2002:a9d:6e8b:0:b0:6db:af74:dacb with SMTP id a11-20020a9d6e8b000000b006dbaf74dacbmr7602885otr.67.1703835935085; Thu, 28 Dec 2023 23:45:35 -0800 (PST) Received: from localhost.localdomain ([1.200.140.173]) by smtp.gmail.com with ESMTPSA id s188-20020a6377c5000000b005c683937cc5sm10305186pgc.44.2023.12.28.23.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 23:45:34 -0800 (PST) From: jim.t90615@gmail.com X-Google-Original-From: JJLIU0@nuvoton.com To: JJLIU0@nuvoton.com, KWLIU@nuvoton.com, jim.t90615@gmail.com, linus.walleij@linaro.org, brgl@bgdev.pl, andy@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: [PATCH v10 2/3] arm: dts: nuvoton: npcm: Add sgpio feature Date: Fri, 29 Dec 2023 15:45:07 +0800 Message-Id: <20231229074508.2709093-3-JJLIU0@nuvoton.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231229074508.2709093-1-JJLIU0@nuvoton.com> References: <20231229074508.2709093-1-JJLIU0@nuvoton.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Jim Liu Add the SGPIO controller to the NPCM7xx devicetree Signed-off-by: Jim Liu --- Changes for v10: - no changed Changes for v9: - no changed --- .../dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi index 868454ae6bde..df91517a4842 100644 --- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi +++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi @@ -372,6 +372,30 @@ &fanin12_pins &fanin13_pins status = "disabled"; }; + gpio8: gpio@101000 { + compatible = "nuvoton,npcm750-sgpio"; + reg = <0x101000 0x200>; + clocks = <&clk NPCM7XX_CLK_APB3>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + nuvoton,input-ngpios = <64>; + nuvoton,output-ngpios = <64>; + status = "disabled"; + }; + + gpio9: gpio@102000 { + compatible = "nuvoton,npcm750-sgpio"; + reg = <0x102000 0x200>; + clocks = <&clk NPCM7XX_CLK_APB3>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + nuvoton,input-ngpios = <64>; + nuvoton,output-ngpios = <64>; + status = "disabled"; + }; + i2c0: i2c@80000 { reg = <0x80000 0x1000>; compatible = "nuvoton,npcm750-i2c"; -- 2.25.1