From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f180.google.com (mail-dy1-f180.google.com [74.125.82.180]) (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 4D53E3148D3 for ; Tue, 10 Mar 2026 06:12:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773123140; cv=none; b=F3/iXIlGhJemvIV1HNoEp7qqyFZj+W9PM8v2JhmauYQUOAdpnOOxck40zwawDwQOkaQiRBwPY3iFHt22uiBl7aRHb2j+lsFOMkTFEYlbc0BOjjuKsx6h0R40Q1oeAXBulFkdQQt4eg0xYKLuicoyHW/I6Pap1Hebnh8xlhH5pLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773123140; c=relaxed/simple; bh=2zz5RnScCUMkzHONosF9yEW8ZXBLhntgWYXPYRZwkYw=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Z6058VoAxAdFp2R64d0Ye9Aj2HKtf19L0PkWuzsOJpN9vOkvBb7q1OT4x5Tx7hqNWvM7R0flaxWsXf8hRLfLR8UDkJExZsnwhe0tGo92AbtUAo/0s6ULwDXmbMk34PVcmqWpQVtnj/2PW2XUKlJqtUEGlmqujS8o8Vn/ayVyc/0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A6aNEl07; arc=none smtp.client-ip=74.125.82.180 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="A6aNEl07" Received: by mail-dy1-f180.google.com with SMTP id 5a478bee46e88-2be1ab1fa7dso5514152eec.0 for ; Mon, 09 Mar 2026 23:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773123138; x=1773727938; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=GZ9KmidaRrJqyFwsMVgxQzC62T02yMtxzxJg/inqp4A=; b=A6aNEl072c5J2qM3hQY4d7bEhuEaChrnqzHG6g524djTh7dSOXAXJ2IN6zN9XFXecB rflAteUE/3fX6Ctxw+3yG6uQO8tgJqf7c0lZ6u8fYK1TPj3MPuE6PzhMpFCg3ECRZGvA uyjHY0PBRq8yGxlfbeujYgPxYg8aV+/HYG2tblncbmDeJapnu7B9onBD2WVPVRMN84HK WW53cSjk4ghabNDq3UiY00dO5MY4xheS2rQQKS/5BFjTB8xZ8rrIBE+4d17z1MEkpPCC 7dh0AGJksSsskFUZ0BFmu7I4hr/0SBiEK6R9AFFTmcWkY8TrJWKhF4HarB2WLx+xxzcu tUdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773123138; x=1773727938; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GZ9KmidaRrJqyFwsMVgxQzC62T02yMtxzxJg/inqp4A=; b=QvCOsXypbR2bcJ8cwkGx0rBbvVhQoyIBJ726hbb8GZKIgkx4hsn+xaQPEamI4HMdrF Ef/9NlqgV0PFEcZkWipKtRCcCOESxILvrGLs0P9jiM/HunwTL/oKVpx0IeLu4f/RBbNI K5e9KrI38L2XvjnJxgf8aIuzkat4W0uxjAw1P6zersq6s6S00i5QdC7X4JKrlEm/GwKY quF9RLsKag6s+qP+RSxTi83MTMGTpOUTJeapkJ2bAnhkuFE9K7YJd8tmnwrDr+NOBs/o ZlBS8gumoAGlq7Mgz0txrbARjfCOFDsdByil9spHZXk+xKyvzxPLxkg5uaEeVFXtvllC Fs1Q== X-Forwarded-Encrypted: i=1; AJvYcCVYeL225g+eI25zE1OV1/b3xuWc5LahNZv+qopfoo6KGKOaMHzc/5JpUTsQtdodkVn4ZJD87Li1REOH9HM=@vger.kernel.org X-Gm-Message-State: AOJu0YwJC2wK1uLFeunrmKapasvZ8cVcN30m5ccZlMc4jFesQKQw032F hP3s1qIBynMP1Azwmqb7kH98YsgQIAyZDA43RJRdK0YprJ5OHBF/gWvd X-Gm-Gg: ATEYQzwYVBUsnPy+mzcNJnEomgbp0Ma1VogKSGn4RF1n6YIiyPgxWukTJqO3llnQtMv U7oo7XsCJN6D5+SILJQw0nOa5kc9uVFQhlsbqUpOleTMy4FT6ayUep6rKANj/Dz7ncJMZPN8Mnx uwoUCka98rNvYTrOM6CokRvVWg2DqSIFF7GJWL+RGvKTrfbzbpYziLyV1f3jJyFjIYvev1Rp6pj 41whWSKRdS1cRWNdrmbiqI/1yoyHt0HCa8KMrZxusyqeC3TMn9zwFaDk8qn4gxLXl9lKCZ4zYLR oJ+9pZroTJ4rn/dUa8zmw+5w/YQ3UyipGMs38B1j7RvXMfVl7o9sYGHy+La58o1xWy9S6ET1IWa Kuw6gd20Vc73CcRJ/FtLxplIlxYQLwNs9HDYWFs1MW5Pb7PREpp2VQNti7pQs6S1m6iYrBv/smc dI6x6SqfQFph9Rl0EKBQM9rm0jgpFZtxpCl+i12djUPIJeazahD649oWyGH7PsxoJEGijGaQRqf 4SRZEE5yc/oo+XhJtY10X1ZDA== X-Received: by 2002:a05:7301:6895:b0:2be:ca4:e144 with SMTP id 5a478bee46e88-2be4e04ce65mr5882948eec.31.1773123138307; Mon, 09 Mar 2026 23:12:18 -0700 (PDT) Received: from dtor-ws.sjc.corp.google.com ([2a00:79e0:2ebe:8:2a0a:17c2:21e7:dcfb]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2be4f96aa32sm11787106eec.26.2026.03.09.23.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Mar 2026 23:12:17 -0700 (PDT) From: Dmitry Torokhov Subject: [PATCH 0/4] MIPS: alchemy: attach software nodes to GPIO controllers and use properties Date: Mon, 09 Mar 2026 23:11:57 -0700 Message-Id: <20260309-alchemy-v1-0-f55e9dc60ba1@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAC22r2kC/y3M2wpAQBSF4VfRvjY1iMGryIVYzC7HGUTy7iZcf qvVf5GFYVjKvYsMdrY8jQ6B71Gtq7GD4MaZQhkmMpKZqPpaYziFSoM4RasAmZB7zwYtH2+pKD8 bLJsLrv943w+EkaH4bgAAAA== X-Change-ID: 20260309-alchemy-78158ef7ee06 To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.15-dev-a6826 This series of patches updates board previously converted to use static device properties/software nodes to attach and use nodes attached to the respective gpiochip devices rather than simply defining unattached software nodes with matching name. This is a requirement of newer gpiolib code. Note that there is currently a workaround preserving the lookup based on the software node name, but it will be removed soon. The additional 2 patches convert the remaining 2 boards to use software nodes as well. Signed-off-by: Dmitry Torokhov --- Dmitry Torokhov (4): MIPS: alchemy: mtx1: attach software nodes to GPIO chips MIPS: alchemy: db1000: use nodes attached to GPIO chips in properties MIPS: alchemy: gpr: switch to static device properties MIPS: alchemy: db1300: switch to static device properties arch/mips/alchemy/board-gpr.c | 122 ++++++++------ arch/mips/alchemy/board-mtx1.c | 79 ++++----- arch/mips/alchemy/common/gpiolib.c | 45 ++++- arch/mips/alchemy/devboards/db1000.c | 36 ++-- arch/mips/alchemy/devboards/db1300.c | 209 +++++++++++++++--------- arch/mips/include/asm/mach-au1x00/gpio-au1000.h | 4 + arch/mips/include/asm/mach-au1x00/gpio-au1300.h | 3 + 7 files changed, 301 insertions(+), 197 deletions(-) --- base-commit: 343f51842f4ed7143872f3aa116a214a5619a4b9 change-id: 20260309-alchemy-78158ef7ee06 Thanks. -- Dmitry