Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) (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 E49191F0991 for ; Sat, 28 Feb 2026 14:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772287716; cv=none; b=X6UY15FrmRC/OjnyFT5iO7nxQsvmhqQWfZxBlMzqpJmRO7ZhNaZfaybEzY1BSR7d7SFWN35G/HTKTM46uZvdtiPgu09xJGkIKBn6TdH3sz8rSpMpDdOqKkZmJLR+wopELABVefCUfmpgRyOFmB519PZhNFfhqg8/s8f7WX/y7NE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772287716; c=relaxed/simple; bh=4EDwurgwBRqay31Gf8tt43vcqSlor49bTP2erbGTyac=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gd2hJyQONH1SK8r2PCZCQGAmbXaahSNdIwWI1vuIwVdynJBX24KVezDFDTq2JMnY744ERu2MdVGcGzjztqybff7m1yoBIgm1436iZeJPPp7pYTESlbo6doDMH3PjHNokqwvThQW5hnCSFi7009ZcHGRlKi4fIs1yjeg+ivFtoIg= 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=H/RJ9ICt; arc=none smtp.client-ip=209.85.215.181 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="H/RJ9ICt" Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-c70e27e2b74so1024381a12.0 for ; Sat, 28 Feb 2026 06:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772287714; x=1772892514; 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=6TSZFUxYm82d8AIBQNg1i5Gh8moFs187x7imTFk4zOU=; b=H/RJ9ICtYHJIJrT83vzNiz7pO4mswAQxG1j4JpbEQ4l+GsouioVr7fsF941AB6dV8W h8vpluQGscUnXAahpUjeQzNQDYAU/5ejCksy08g4r5TBGtfvGu1FIytq2tNdlzGlUtc7 VJDc5x9TGMx8plgr9ROpuyMcmURsTm+4vT5GG5mp8l/d1BrzqhYbNzKwOHMzTkOzDXBC YAuQnEMx/9QPE5geqqZQANCNP5WEWYoFkVA2dTcsJh9xDBIxME432njDeqNRWz/QRaDJ 6ww4W5Zci4fXFRF4oVbatAhqnk2FDRrlOda9cuinDBoDJU5Ah4xWc/HrT7GYQkDFt1xZ z5Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772287714; x=1772892514; 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=6TSZFUxYm82d8AIBQNg1i5Gh8moFs187x7imTFk4zOU=; b=WIdkpmWLw5iazcqNvX+dHcD6Muhe0xCkXetkUH3+oF/xnqq03Xqrb6W51Rnws+R3Rl bpcG2Ol2PRfl3hTvsbvEdtKuiULo+TEalvf/n+6K6PIZkWWNMqZ1UOtf0HAkoKr5c5g/ OExS+A1yiaoZes28AjnR3cwCchjsxOR42yFTqOXLLOLVqBJJbLkbqMhusjYxCEhrsjXM U1f0Elq1h7rL7PbGm9O0UMH9H89pE3UsXF0PPpeisn/FEtZMl1ktBvGTm44Td1T2yEEn SL+yd3xlytLOZCzV4N/RNvYTqVjdwDel08MMKdX6wPehJeBA2+3/e9xYmoxpJW0AOM+3 bF+w== X-Forwarded-Encrypted: i=1; AJvYcCWSG/KvnZYPdRDEKtw84P6uqgG+35FIJirW/qgDJTEtyXKfxVRtlC8yfvaVnevomeE0ce76oEd+pf68@vger.kernel.org X-Gm-Message-State: AOJu0Ywd7Kb+WjYxnkgLeYQZiSr7lnH/cJex0wgkHYvbFhuC1rXPcrd9 BltCZA5pJOtL2FQvFNFobQG7XyQtLiMV4/AsH/T47MlcNBABa/XbmgsB X-Gm-Gg: ATEYQzx9B5Trm2CjcQ/AEIPG4xe4tRGRONtccWGosfHSiYMgBZH4kKZ78RMz3sXQGiO d1W8sMiCAfbTAa6fL3YAxccjbIquFMSd/mZQaEU9duDXS+CeFnzEftXpDnEZqKItPOwRAOSo+D9 aSwdLVBlZmpiLLLPzPyaVNnXbRNilVv3z0IrpuCUvuCuKlTEu7g9mgKfA+j+FP2tM+xybbwWJrA ATUfK6SqpgQc2KeDY/dp1RkXg1K8jkSgiX65XToc9tbPYIvtY7kVhX04NG389x3MMEQbWJ+eEfz 1/mfWqbPhTkVoYRDV+9OmtRf5wGbFA6JdXpa0svQYuhdGjvxM+VtuH5gj2zKACWF9YWGvYZLWrb Zny8QRMlKVBVnvEvM3BA4JkV9//HQzAy1Nc1tyqEZ1Y1bZ4apajSkXWrC+E421mVVs+nUwAj7XS c71mOW4ZaVizmhjUaqnTmU4D7BDbgfrsbax111txBObVlBzvLtXAcLL4tNTHte2DEpq1mAQlT/C /GOupGIq1OhVjPS/HzWaGTjOOVL08CR5PsPtQ== X-Received: by 2002:a05:6300:218f:b0:38b:eeb9:cbb5 with SMTP id adf61e73a8af0-395c3b0f6acmr6492400637.39.1772287714146; Sat, 28 Feb 2026 06:08:34 -0800 (PST) Received: from lorddaniel-VivoBook-ASUSLaptop-K3502ZA-S3502ZA.. ([2405:201:31:d01f:38e8:e688:575f:115f]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35913430908sm4667245a91.11.2026.02.28.06.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Feb 2026 06:08:33 -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 v4] dt-bindings: rtc: isl12026: convert to YAML schema Date: Sat, 28 Feb 2026 19:38:25 +0530 Message-Id: <20260228140825.108205-1-piyushpatle228@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <1c104639-4286-464c-aaf5-82f80b903bbb@kernel.org> References: <1c104639-4286-464c-aaf5-82f80b903bbb@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 v3: - Removed unsupported select section Changes in v2: - Fixed dt_binding_check warnings - Improved example formatting Changes in v4: - Fixed Warnings and resent in-thread as requested Signed-off-by: Piyush Patle --- .../devicetree/bindings/rtc/isil,isl12026.txt | 28 --------- .../bindings/rtc/isil,isl12026.yaml | 59 +++++++++++++++++++ 2 files changed, 59 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/Documentation/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 portion. - -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 = "isil,isl12026"; - reg = <0x6f>; - isil,pwr-bsw = <0>; - isil,pwr-sbib = <1>; - } diff --git a/Documentation/devicetree/bindings/rtc/isil,isl12026.yaml b/Documentation/devicetree/bindings/rtc/isil,isl12026.yaml new file mode 100644 index 000000000000..152edce2ab41 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/isil,isl12026.yaml @@ -0,0 +1,59 @@ +# 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. + +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 + enum: [ 0, 1 ] + description: + Value written to the PWR.BSW bit for proper device operation. + + isil,pwr-sbib: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [ 0, 1 ] + description: + Value written to the PWR.SBIB bit for proper device operation. + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + rtc@6f { + compatible = "isil,isl12026"; + reg = <0x6f>; + isil,pwr-bsw = <0>; + isil,pwr-sbib = <1>; + }; + }; -- 2.34.1