From nobody Sun Apr 5 16:29:51 2026 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 1185A30F93D for ; Fri, 20 Feb 2026 08:47:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771577252; cv=none; b=IgLxEyPGz9u5Yoa0pRnP4Y/2WqKSJATzfllZuNn7aOvBTamSSISaIzw+oIbNxtUMZYYUn4+uv8jjaLV4WlagDIvcRyuGntTTeMMDtMLdnBIhlFZmja+aSrS91WvjbUHoifeWCyUrQMClB7AAAExyC0WCN2e/us4SAPK4ELh92GM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771577252; c=relaxed/simple; bh=Fu7ePUeb+RpZ9sblQ9IzyxfjeLVJUnddvEnsWte7gwY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=dn4D/u870ZT3s4twtmtz2HYjvrgiPcHNFhQW7FSASthf9xetMZNKNg7AWG3IQ/mq5vqRyWQsdMSpzfTgQWRy0x+cwQB6Id+6p5LAJOoCsZ+1v3rTxi/EYyKWBX4CcR4JFtOBJaoOqBZW01o1pD6RQsrrthqY9IxxH5fUeLDFA4A= 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=g1pdBVQd; arc=none smtp.client-ip=209.85.210.177 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="g1pdBVQd" Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-824a9348603so774103b3a.2 for ; Fri, 20 Feb 2026 00:47:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771577250; x=1772182050; 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=3Ci6XUCxuK1b6ZmUVm0ZGP3mULvV4ek/HU+siPXSf10=; b=g1pdBVQd4txFXAfWjJrTeRwR9MdjsLXjKtZHTrDXC5mxooipp6HMOfRZxsVmIvgQr/ aIIGOsYYmDi8WgBkAZKlunC/pTgwfEE3Ofc2m/I5b24+ZxNIMOAjdWzMkKwmYs/vSPW2 qB8zdAVtuKtCmclaMjb/kGyol0JunKW2JRyf7xhbF4wN60yggX1c5q/ypDH+8AlqJAXQ xiErkX/kX648csiev+4BA45ktT1WR9FMbpBvriMNFmXvu48ngqrvblCIsdA0AO8vT6jf 0Ii+qbl6AKj/OSB23nnu02PNG+4DN4YehULD5wM9wTY2JvIVbHhKB//fqto1H2J3+JkZ 0tJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771577250; x=1772182050; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3Ci6XUCxuK1b6ZmUVm0ZGP3mULvV4ek/HU+siPXSf10=; b=Leh4CEvB0KbM/wuQ8MTN+IEKaPI1cpFJFdI+0i7kHlY5Fdi6dbD/1KPOShbJH9PkOU 2JbcJD0UT6evODkubk0ROhODZ3o9ZxmA0onU7KAPE6kJuejOtjrTgKTB7s9I4Ft7t4rM ylrK6jZ9NeeVBwrTUnnICj5HHeKX9sfUJo76cotxJbQd5DBqye8xIigwc9nrvvaLhSlH lpv56QrcBQEAV2rJ3WAkZcIqPJvzGfaHE726x5dXwtYAf8JnE/m8loUfK3FVemy9yHL7 4FcOF8JnrEcFM9kwOE71iMVeo4Z2eAKMV+uNNbpkn4ZKNs7E3IREageJOomRAa+T4tmX yVHA== X-Forwarded-Encrypted: i=1; AJvYcCVFFjxWSvXQCGiNDzEg9mXKgLWWXbONvM1GnPTYdsVujCRk10db3HFctwyq5SKj/R2H8RUbYUwWzpQ43lM=@vger.kernel.org X-Gm-Message-State: AOJu0Yw/NYtuODsAR7efhhld4cJp03ltxEuWAgdjdrGpAonpT5LBJYk+ Bx/7+dxVg7LC64id6c55cXT7/qVhm5ajnCqrHcD+w0DdzYeJqeFQ8grk X-Gm-Gg: AZuq6aKe6xKheTTovzGqnnsAFI7SiUtH9c+KW74SlIUZQDUUhBp8RkzF0vG9RlmR0Gy avO9nc9aSE287Th8orLwla3I/ZsJEYsIDxwjbera4Nn0yjJD8j1gc7uXmNw5EyFqmh3o2t+xusO FNOg+68XFxxscfA/OTFldfdAaRJXSQ0p9orzpUclOu5LFb6sAwW2oc978NULrK0G4BUCfJorFW6 ZEs+x4bMam2+Xwc2nD0OdAGOT/+47ZQF64BVy1V5IftK2Am+XG5POiYl4/hZPSeLKphhHYezH8n DyH3Ycb4TT4v9uHURq0xOE22kyv61udk5vsaCVEAMoJmQEWdPaa3dIkj0ZD984y4+iFFubyDvj6 FHFxXtW3Amt58AhC5RgE4BVrFK06+R2YFcwCvaHMMH/bclKHlNoaDZ1lnG6DFqqb1AViXLclTUY /twREPKxezfSfL1HI/cWC1b0aVgNykHJmT/46PdAdboyrU2VN2ZkYK2EbphqtKJVR2+QPks+4DZ 5ZB+EnsGz3K1miZSl5E5ylNGWq4V3flvAzqfpISWrbloqTg+0Mcr1FEWaY= X-Received: by 2002:a05:6a00:2e1d:b0:81b:abcd:7e27 with SMTP id d2e1a72fcca58-826d074a7d3mr1102609b3a.20.1771577250408; Fri, 20 Feb 2026 00:47:30 -0800 (PST) Received: from lorddaniel-VivoBook-ASUSLaptop-K3502ZA-S3502ZA.www.tendawifi.com ([103.47.105.130]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-824c6a29f0asm28976456b3a.9.2026.02.20.00.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Feb 2026 00:47:29 -0800 (PST) From: Piyush Patle To: Alexandre Belloni Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] dt-bindings: rtc: isl12026: convert to YAML schema Date: Fri, 20 Feb 2026 14:17:23 +0530 Message-Id: <20260220084723.171639-1-piyushpatle228@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260220-vigorous-holistic-platypus-6ebebd@quoll> References: <20260220-vigorous-holistic-platypus-6ebebd@quoll> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the ISL12026 RTC binding from text format to YAML schema. Remove the legacy text binding. The new schema enables dtbs_check validation. --- Changes in v2: - Fixed schema validation issues pointed out in review - Improved example node formatting - Removed redundant description text --- Changes in v3: - Dropped unnecessary block scalar ('|') in description - Removed unsupported select section to match existing RTC bindings - Aligned schema structure with other RTC YAML bindings - Fixed YAML formatting and dt_binding_check errors Signed-off-by: Piyush Patle --- .../devicetree/bindings/rtc/isil,isl12026.txt | 28 -------- .../bindings/rtc/isil,isl12026.yaml | 64 +++++++++++++++++++ 2 files changed, 64 insertions(+), 28 deletions(-) delete mode 100644 Documentation/devicetree/bindings/rtc/isil,isl12026.txt create mode 100644 Documentation/devicetree/bindings/rtc/isil,isl12026.yaml diff --git a/Documentation/devicetree/bindings/rtc/isil,isl12026.txt b/Docu= mentation/devicetree/bindings/rtc/isil,isl12026.txt deleted file mode 100644 index 2e0be45193bb..000000000000 --- a/Documentation/devicetree/bindings/rtc/isil,isl12026.txt +++ /dev/null @@ -1,28 +0,0 @@ -ISL12026 I2C RTC/EEPROM - -ISL12026 is an I2C RTC/EEPROM combination device. The RTC and control -registers respond at bus address 0x6f, and the EEPROM array responds -at bus address 0x57. The canonical "reg" value will be for the RTC portio= n. - -Required properties supported by the device: - - - "compatible": must be "isil,isl12026" - - "reg": I2C bus address of the device (always 0x6f) - -Optional properties: - - - "isil,pwr-bsw": If present PWR.BSW bit must be set to the specified - value for proper operation. - - - "isil,pwr-sbib": If present PWR.SBIB bit must be set to the specified - value for proper operation. - - -Example: - - rtc@6f { - compatible =3D "isil,isl12026"; - reg =3D <0x6f>; - isil,pwr-bsw =3D <0>; - isil,pwr-sbib =3D <1>; - } diff --git a/Documentation/devicetree/bindings/rtc/isil,isl12026.yaml b/Doc= umentation/devicetree/bindings/rtc/isil,isl12026.yaml new file mode 100644 index 000000000000..a6822605fd72 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/isil,isl12026.yaml @@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/isil,isl12026.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intersil ISL12026 I2C RTC/EEPROM + +maintainers: + - Piyush Patle + +description: | + The ISL12026 is a combination RTC and EEPROM device connected via I2C. + The RTC and control registers respond at address 0x6f, while the EEPROM + array responds at address 0x57. The "reg" property refers to the RTC + portion of the device. + +select: + properties: + compatible: + const: isil,isl12026 + required: + - compatible + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: isil,isl12026 + + reg: + maxItems: 1 + description: I2C address of the RTC portion (must be 0x6f) + + isil,pwr-bsw: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Value written to the PWR.BSW bit for proper device operation. + + isil,pwr-sbib: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Value written to the PWR.SBIB bit for proper device operation. + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + rtc@6f { + compatible =3D "isil,isl12026"; + reg =3D <0x6f>; + isil,pwr-bsw =3D <0>; + isil,pwr-sbib =3D <1>; + }; + }; --=20 2.34.1