Received: from mail-lf1-f66.google.com (mail-lf1-f66.google.com [209.85.167.66]) (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 B40EC3446AF for ; Mon, 23 Feb 2026 06:39:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771828752; cv=none; b=g3HcG0kuTMP57ZfLHrhraZ5vYNTxy8Aj9r+QDw+gkak5kV8rlmJrBTVUjVn3cRWE0cqWvaut+GKBi3zEtAXqGS3ODqDJ8NzTrH2ND+Ie5449zz0GXcb4Ny3gL7YtsXm4tzrSUPMQMo2BYhKLRc02BelBDPSqp2NT605YQLHUmOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771828752; c=relaxed/simple; bh=k0UhZSHIQfO0HDHJkw8IbSbfZ311DvIpeYJjb/2LtU8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F52CqYUZ8TYgDa4kZIfrtWNXTi02S2LYdWdilTtpODzB0xUOO/iaQZxCh3/iECC1zPo3LqT52QTASJuL/fAVZstCwl6Xg6n7yRzrxWmBbJLlrLGzS6gim39/1gY0Ny2y6nrBmgWuKs0tGcffD0VT8iEtYHBCmPkcAH1nYGp8SPI= 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=K3jCFIm2; arc=none smtp.client-ip=209.85.167.66 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="K3jCFIm2" Received: by mail-lf1-f66.google.com with SMTP id 2adb3069b0e04-59e607a3824so4446255e87.1 for ; Sun, 22 Feb 2026 22:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771828749; x=1772433549; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=64fXO+/BrfVHyK+e3Z6d/GgzvitBotdXgadt/CHztxw=; b=K3jCFIm2sdlm98uGCBMvNRCOWKfKmqXYCK5A0vc80EwRE+kf5fD27VWr6GKy3OzihO tV+oRwBSuxcln0g7tbJTkGHcdjV7y6FsDfMsR5LQcrdICyCENJTCIGOIFRkq/yfdveYi IjL3Y0l+vDyLtLdqLnZmGZUGzJ0Kmfc7XNBt3b3uoZI0P3cDSOkTcQzngmejfTmcfgSO Azfrd9PfX5prYGuB5JWi2SH9i5vtb9IbeHXJU34e9kvBpuLNmoUZMHiZaZPofId83lkY Wajz4HJlfkH5Y3LNlCMykqKHfwSnB8eCnfqv9Qpg9TZUCqtksvWDWDi0Ociqj7c7/egw rLRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771828749; x=1772433549; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=64fXO+/BrfVHyK+e3Z6d/GgzvitBotdXgadt/CHztxw=; b=AhdMY8mC2Jjtdp/8lug1s4DAKoF3K5BF6Bcy/1sh8qQ0fz24qZMwiyKjy0gphc2EzJ Fak8O0RAzYVHlWOc5YobdoYkz0IRApNkoxM2ObPgXWwb9N2a/1tFTUFaahh4OBdnEiym xnONK1hl0znO/+eqy06BKcywcfRnx2B1QoHE5Y1LtWg05fVpHhxm1U3B6wE0Kss9QwoI az3cThk85CpfMPz0AfINzlyKebX2+e7mmvTtYoTIoOkWRAmrUmmS++5mWoiGOsEEU75/ j6HzNW5SWJTWvKp+OxrIP4i5gCyI5xfbHeddAmw58JiZNRsVII+OOkj2R6MYGG6+Mt+F dJ7g== X-Forwarded-Encrypted: i=1; AJvYcCW50ftcE9WOnVnx3OP7CAxNn0ZEckbU7sKKqlGabeactqqKcgxtl69jEcUA+IfeenfZLc5RJSJVZbeh@vger.kernel.org X-Gm-Message-State: AOJu0Yy5+GaufonBWUcYIP4UW2IPEQyO8X8rOwWYJ9e0OQKmRggF0rGy gdrhspy2DDaXLeTpGj5uGhtQ88gNMeUB3C01IeTS42AMevGWgyYfknnU X-Gm-Gg: AZuq6aJWJSaNDmOfKmKbMxWbGRnrdzFxyj1jkCSKMkjZNl49cflmHOvW9BvjwTh2yPy urPh9WdAePiaxHr+Uu8q/Q6u6Hw37XUuz2Dvu1NNLryhbkRIjG3rrPBfgRaEF1OT5QZna3tmhK6 A5YujoIqLlToqHE78fMwcwLLYL1/Eq2XsSaXv7Mpd9ZpgCJIopvKApIsF1C/YbpS43JkInX5rQ3 D5X3Tc/Zg5ChZwUVy5A8j8p2B9anrehVRc5Hvfjq6vlPiUwrv08Ki/Gs+Ih+l8l92/C9LvEGQ0q hgyb8IpHxXZqFn+hlNeeqjPCVvo12RuJTR06y2ualRR0xNIn+y+Q2lhAUevyPAhFSBpEPmU9POd JdX2hQWj2tTqJIJyxH7C6xi+Qgrr2AklAwYSz9e7QWoGfFCKWdZZ2t+NfoR4uOSPQHRFDNszbqi ybx8VOyRnjIlJa X-Received: by 2002:ac2:5b91:0:b0:5a0:ee0b:c257 with SMTP id 2adb3069b0e04-5a0ee0bc325mr1650088e87.10.1771828748858; Sun, 22 Feb 2026 22:39:08 -0800 (PST) Received: from xeon ([188.163.112.76]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a0eeb13abbsm1369626e87.23.2026.02.22.22.39.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Feb 2026 22:39:08 -0800 (PST) From: Svyatoslav Ryhel To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Pavel Machek , Liam Girdwood , Mark Brown , Svyatoslav Ryhel , David Lechner , Tony Lindgren Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: [PATCH v3 0/9] mfd: cpcap: convert documentation to schema and add Mot board support Date: Mon, 23 Feb 2026 08:38:49 +0200 Message-ID: <20260223063858.12208-1-clamor95@gmail.com> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The initial goal was only to add support for the CPCAP used in the Mot Tegra20 board; however, since the documentation was already partially converted, I decided to complete the conversion to schema too. The CPCAP regulator, leds, rtc, pwrbutton and core files were converted from TXT to YAML while preserving the original structure. Mot board compatibility was added to the regulator and core schema. Since these were one-line patches, they were not separated into dedicated commits; however, the commit message notes this for both cases. Finally, the CPCAP MFD was slightly refactored to improve support for multiple subcell compositions. --- Changes in v2: - fixed code style - rtc conversion was picked, so patch dropped - added audio ports description into mfd schema - splitted schema conversion and compatible addition - minor style improvements and typo fixes Changes in v3: - added regulator node names list into pattern - filled spi_device_id with driver data - ADC patches were picked, so changes dropped --- Svyatoslav Ryhel (9): dt-bindings: regulator: cpcap-regulator: convert to DT schema dt-bindings: regulator: cpcap-regulator: document Mot regulator regulator: cpcap-regulator: add support for Mot regulators dt-bindings: leds: leds-cpcap: convert to DT schema dt-bindings: input: cpcap-pwrbutton: convert to DT schema dt-bindings: mfd: motorola-cpcap: convert to DT schema dt-bindings: mfd: motorola-cpcap: document Mapphone and Mot CPCAP mfd: motorola-cpcap: diverge configuration per-board mfd: motorola-cpcap: add support for Mot CPCAP composition .../bindings/input/cpcap-pwrbutton.txt | 20 - .../input/motorola,cpcap-pwrbutton.yaml | 32 ++ .../devicetree/bindings/leds/leds-cpcap.txt | 29 -- .../bindings/leds/motorola,cpcap-leds.yaml | 42 ++ .../bindings/mfd/motorola,cpcap.yaml | 416 ++++++++++++++++++ .../bindings/mfd/motorola-cpcap.txt | 78 ---- .../bindings/regulator/cpcap-regulator.txt | 35 -- .../regulator/motorola,cpcap-regulator.yaml | 47 ++ drivers/mfd/motorola-cpcap.c | 151 ++++++- drivers/regulator/cpcap-regulator.c | 105 +++++ 10 files changed, 775 insertions(+), 180 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt create mode 100644 Documentation/devicetree/bindings/input/motorola,cpcap-pwrbutton.yaml delete mode 100644 Documentation/devicetree/bindings/leds/leds-cpcap.txt create mode 100644 Documentation/devicetree/bindings/leds/motorola,cpcap-leds.yaml create mode 100644 Documentation/devicetree/bindings/mfd/motorola,cpcap.yaml delete mode 100644 Documentation/devicetree/bindings/mfd/motorola-cpcap.txt delete mode 100644 Documentation/devicetree/bindings/regulator/cpcap-regulator.txt create mode 100644 Documentation/devicetree/bindings/regulator/motorola,cpcap-regulator.yaml -- 2.51.0