From nobody Sat Apr 18 10:45:04 2026 Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.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 8F47725F7A9 for ; Sat, 28 Feb 2026 13:13:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772284400; cv=none; b=GbxkvRqSNWdrVfvURGS9d+xwjodJS+8iugP6BxOpAgs6ptpbE3I+2WfS2m4+TkR1yX+fwzfQjcoLJfLqbvE6QeP6r3NlTV2wG5Vlx+3sUvOve+A+t8p3Ummz1niiykWKiPzN11+OpewYUCRCIgW0Gu6C77DrFVv492AmrrraJa8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772284400; c=relaxed/simple; bh=vpPZDNWyaRiIeiEZ6dBWdMfSdrhuE1MFqlDWuu8feTg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=FlSgtXPygFpeQCOoBcZMAVtJzdyxJN/KAt4h/2r0sQqATgLz2OPajEcQjI/VuOo0RzejPvSjr9zrua5j6Z36Zi3qfmu5KJz3Tyl6nE7IFvdu5eCbqzfTFvNzysEHHZlwEebrtGrDyQhQUvEuSLDT23IJBtowItal8LbjhN9AchY= 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=RyIzCvaL; arc=none smtp.client-ip=209.85.214.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="RyIzCvaL" Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-2a871daa98fso23752015ad.1 for ; Sat, 28 Feb 2026 05:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772284399; x=1772889199; 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=e+OXOGPWktoMpqTrgoZHnGiYGl+B7CZqSTFyHXnY8iM=; b=RyIzCvaLJNGNV2dhAyqGOrb18eHaT5svJePZTIOMi3nXvYnjuRl0oJuG2nCTC1/YmE sH2CEWxGg26EQZ9WqOs9XfwV9Y9ILXE3c4Kp8rqWuN/Fl4freq347DUtRMBkzB0CWAxg xDyLFrYvi2smrw9FFBPelPhfkccdO94osGkJhDeX/znX/cOVST8KFo4KWzpVYffxmQOX D5mRdnjMP1G3G2Bunbc3+9rTX7XQlOkbERGp7Dl3v2yOruzoJ4ZvgvoTP6BQuIKJsgsu UVHIOjJOQUdGAphXbsnydWHn5PovJkJM5BM3eoV4pQ4CgbSRrNNQ9amGbOn9c2eGSIn5 jESg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772284399; x=1772889199; 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=e+OXOGPWktoMpqTrgoZHnGiYGl+B7CZqSTFyHXnY8iM=; b=dofudYGFzK/w0IaXsKfmGvTYELvMo4H5l/tiYevNL7e1mOGM2bBbd8HJUW7Ucme8pa 6OFx5UpuZ4ydgwEjCEXuv6Ah7xw/1YpnxLh9Qktp7jzcsitaU1ugStYssLE1tOOtK+7y W8FDSDT1wt8XFbbCpK9AK4fAEDvsGP8Xuqqwi4Eu3eKs1SH43rt/VeNm/TvE2mRGup3Y 7DIQeLi2aMZUPwauu5ICzWMAWbH4i1+nc3A9rnAFgfoZ+aApx1bnaTY5RGVAi6a0FRAS lPvskcFn7tDiIXsIeHsww3PWpKCCABihXoGIJQb7sDy1KPg1BH8A2123VA7bo7dVlWjd v6vw== X-Forwarded-Encrypted: i=1; AJvYcCX9N72n3p9ttgtd91Nn/vFBHM+VZg5zL9z9zXT/xwwT8DfKeD5omr7rUlps+8u8P2YAMl/kmjSRkUqZgKM=@vger.kernel.org X-Gm-Message-State: AOJu0YzGmDgRLNwT6lbnYKPOPiLkB60d+e+B7g65eigdmwUR67lpFUju cN+8Vk7FOGXRe8auNy81y8LGwhXYexpWx/hljFdlJ3HIE1KBOjttU8pJ X-Gm-Gg: ATEYQzzDlYtxmJTfmt1pInBjDB5faI2zdChyneGyq+uOQGMZHxxxgJ6Bgu1VnwNpgvt xHEbXD534Wsh45f/WjGjG8fTsrxVOxJnFMlrqH0wiKwzmEgvpItSz5L+40GZslwbIUhDLgf/Sr8 mox/zmyIYu4XHBzImdAKwN+oRR0oZiDMxPNmUADhLPJdzMMqWeK7w9bjzl7sw6d1jOdxcG/OMpm 7JbDPY1Yru/ZIw27RcP51ZSTjRRsZHopdfq8IBkMu/BgfPEh2B0jLCfwd9MexuNTBuIEqHAUexi bKwnnohno35phOvEquIxgPjCP5/Sht1kkWR94Fr7dY2Fxc2dagOLGHH5jpFsL3VVCEqWCIByMcj /fR7BIQP7GM3o9pqxTXILQlL5rJuMrR1ZXe+HawLMzVf1gnTI28xIIfKqxX2ihTxn2nbXccIFgp DmacUWyXFqOoIM3lYTIf0UUiE43OCEvZLuz8bWK7Guv04CbS815gNn/l40jRm+goaWXqxicSHXD 4/LrMnOYbXjHZyItctPu7LGJZfpU16ByAJuMTtjcxP9h1o0 X-Received: by 2002:a17:903:2b04:b0:2a9:62ce:1c12 with SMTP id d9443c01a7336-2ae2e4da12bmr73263415ad.53.1772284398824; Sat, 28 Feb 2026 05:13:18 -0800 (PST) Received: from lorddaniel-VivoBook-ASUSLaptop-K3502ZA-S3502ZA.. ([2405:201:31:d01f:38e8:e688:575f:115f]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2adfb6f3436sm133656725ad.88.2026.02.28.05.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Feb 2026 05:13:18 -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: Sat, 28 Feb 2026 18:43:11 +0530 Message-Id: <20260228131311.37169-1-piyushpatle228@gmail.com> X-Mailer: git-send-email 2.34.1 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. Signed-off-by: Piyush Patle --- Changes in v3: - Removed unsupported select section Changes in v2: - Fixed dt_binding_check warnings - Improved example formatting --- .../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