From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (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 C68AE3451C8 for ; Mon, 23 Feb 2026 06:39:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771828752; cv=none; b=B1QtnpkvlhLuvJPGQQbwviStXKpVdhCd/jYTDpjFyuUwKUKmXEP408tQLJXn2l+QD6xxLZoQkAvkQ8SUs/iTqquDSS0jSJhBaVaIKsAqlyc0OwaOP+lpgqGgoHJ+eaoEm3V7XMudtWnWdIjwpptZr/elDncOcdOPr0EsTwlKB+g= 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.67 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-f67.google.com with SMTP id 2adb3069b0e04-59e0d5c446cso4556253e87.0 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=VP3HL+gcUbU07vWgFQpMI2I9/mhXKVvkcf4yIUFs2m8fxM7Lo9DXPT50Qm6o1nbsIc 03R5GxcLMzCVNBcaPDGRj9sMVRZ9Q9ZhIXEOZkhGxMazx3fUA73o+ssQqt13vi65vXuF axG+mej9gjsgrMPn4ct2KejyeyFGfNfb+2Nw72cdd+mTWtPyj2pAT6QMoZsKcU83cEGB nxrbd43J+sGVZdwa+v3m0aTdkgAfVxFAnGFMYZj2U3ws2yXFeq9vDr1XCc41EKdFJRkZ yF+T6FG+M5A+WBVJbZHJFKqG1tRBmqEtpRpr2QyjjY5Td6GgDJAyQI+byOy8t0Jy7Ihx NJJg== X-Forwarded-Encrypted: i=1; AJvYcCUgN2J/rN0T8235HjKwxHTGmZsMc59GKWp6fDy9d6FvSqRBAB2iHIKyL7sL1Z2IxDxlsNN4axo/wxqmTeo=@vger.kernel.org X-Gm-Message-State: AOJu0Yxc8DLkwZbRyg2CIWtX/utm6darla36avIb1MQtnyET4upLjAx/ q6REDye7Rxl+wUO1sjzpDGXiECc65AW8BtJgS6juUizU3tiZMryXHA85 X-Gm-Gg: AZuq6aK6YgJZms3Q3EZ/4mzH6vjfcoaPRFOgGVbpsH+OgQKBk1sW0g9I3eOeeGIYif7 KQZj0UOOtlNpv1xD4LJOkHXJF75ns/AIGsT6A3vQLWSojuATk2vNPm96Ccl8aZTWuTO0jdUFQP5 eO8mjkP8GPa+8wLx/Q55RvcKoQcB8EDwTkkcouiIpDp+kSqlbRhqnYin28IB5sWqqj4rVDYb/Dc GcXlbXTy6lQJq6H1mIcTf9VoefhTQxAUEdVr0+dOtib7dlzhUB+KbKGYpmfdRlZ7ArR/KGk36a6 vNEr/CO4Cbj2JEI3QlS372rt6JZpYdJ2eIuoz0s/PBPMIWy+ot3h+q4FcNb06oD6J6oLnMq9u7W H4bVSSuKO6qOpf39ZSvstrImjM+iIxq4jsT1QbC22x17wf2/SV+GOEBEck4/e1j2O4Pj+cXgTQa IvT5jRqpUHZUFZ 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: linux-kernel@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