From nobody Fri Apr 3 06:26:50 2026 Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (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 E72B32BD033 for ; Sat, 28 Feb 2026 14:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772287716; cv=none; b=MvwORj1s8iA3OsX0TFFwpxFd8g4sGvE27B7+uraYlgJItBgLNkc0Qtr0HvX9oKB4qjghbyasaAFx36xfN2e8ySoA9ZLYxh6JrbnG38TFY+lTCeXHR3b1iI2NrYMPWbbaPLzLw1EXqWVozXNvh6iCd3TlujZBp3BXh3YWTtwm/j0= 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.169 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-f169.google.com with SMTP id 41be03b00d2f7-c7350fd4efdso84344a12.1 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=PvK2SpjmPec3MDsvzUeifAjU3hw04MdDRKwhtkS3BEIrGpHX+gQchqHn+xgDCBFdl/ G2bjGr5s2s35ZAdg0qo6chNQnzZPHUPAZQA/b55D5/mhq1bo4vLqEZoYP+He7asuwxkG YIblgFFNmT7jVkvDVWu17xAD/pceeNyQmD8KSwH4krx1+WK5YlX9Qs2vJnPRKVGDQytT Cj/dCNUQdSKzmp4zVZZBx5i1lW0fsDopqC7aECUbcQ3F8P+rVEfa7t0P+ZKFgQjX08zk C2oBwblUjJbzrbB4MPU8M3cIDYRZ2+odZ34eBvvg7QH84J5IL+TtsP3bAy1I+vak3M7i TAPA== X-Forwarded-Encrypted: i=1; AJvYcCXv+10vSxuFObZiaI/f25pTALEeQHE22t+UuQDvqT8rv1cSJS6NM6xTK6FH78oKsirgVx/LObtoKmaNrgI=@vger.kernel.org X-Gm-Message-State: AOJu0YybsSLumLOoGaSEnIP/E+OssU4fV4EkZWS8V1dY/BdeIduj6jh2 vbuRVHP0CguXI9KECYyQw9vwtfvCfHOQFM17f1KGNmfffjIDtyOFoPcxjEbBJeJn X-Gm-Gg: ATEYQzypsT4j1kJ843aRjc6HBB0AXzKwhgldv88xSNczruysObiw/jc0GjZgslDStG7 I2yUkUPzyX2PumzN43cZTSUx0/QqQjFLcJC9B4B19Cnjph/L6yFQ6CMtV4Q97QVpW6pl8BJjBS9 N9L+OXkwSTu5OQVrXWBfo8PKY0hSonVnry+bRqEOZkKVRPBYVIe8yXJLQ7UunvJ8oiFF0vU+b6N 9LM0FHT+tM4vtcXzYzeo0/qBo/MT1buVVK16oUl3I3EbJIwUZ/ztvEV/3cXVEuHpOAVXxP0CO9E Ba9C1Wb721RgfjhJPHt6R+CE+bY6hf6kYRi52ylQTxm6FsqSJ0SPojoDiyZD2J8uf6QhuhBl5CW n7xUoAbXTlevFgGerz2ouvT2nfS9NdlTBVsV9rb3pkJtAj1RysZjiuuSGU/ZgOim8fLZXRzgAPd 1W1mSNlhXTrsdbP8F9iWO0hiOUsiPQm6Li/HVeRQuUYM3ibkVuZ9G563AaVoTlsnBf365iZepfu xwdCz+IHLVGGFSQ0JZ82QwOftiNsh+MCyvB2w== 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: 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 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/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..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 =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