From nobody Fri Apr 3 07:55:41 2026 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 76D207478 for ; Thu, 19 Feb 2026 05:51:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771480284; cv=none; b=Vrtvjp9a0Do9on7Og/2cMa3IQiuWN19OpBlrBvUv1ltE3OicckVDev4U5Dq1ASccWFWUY6BocAYnxuqVshF3kVB5gQwSzk4vwuzDTv6ZpEwJtNUOD4yoswq6iPxpKp9osPZiTR/YnsM1O2BxWDiTZbcVv7mX548rU9QuZlMFXa4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771480284; c=relaxed/simple; bh=htaF1Od6Lb+TxcS2/V/K7m5BHfTrBLHow3IXUGwFe9A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jOKKdTmUKhp5aYIUmZj7GnLiEtdBXtLgr3R1/y9SGmFO38N1nTpy7GUFDsF2jmnu2Sk9+amyPyDndJ9EjkRoiNBeFkmYi041qnzyaTvzHiHaAWPgDGCU+2VBo7Ni5eJZVkv8DLwnJNNMgCwimljgPIlLcfkw2OqH+ydbhPNWSd4= 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=gob8dHpg; arc=none smtp.client-ip=209.85.215.176 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="gob8dHpg" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-c06cb8004e8so275072a12.0 for ; Wed, 18 Feb 2026 21:51:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771480283; x=1772085083; 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=oOT1TOzEwQYZq5JX0qTFAM3MCuWoZ9r71oq9P6+0W2k=; b=gob8dHpg9AFJwuxTdvp5jXp8dR9sdLLSosSqLFq4TQGzr0FcrvnrHwavfIMtZj9W6J 2d9WZ+BWi39blSurBAa10CDD2hIdkIj3rew8+d+ZTcit463SBP3R/Ug8cw/yv0aO7Vz6 xnUEmlkad5joZt4LyjN68OU/mxoeeM6vHCB5k5mb7G60iqViAZbXi7J67zGrD5cNsr0q twBwhB+Pm1ZrhklRg/2SKBFT0sizXeE5vw/Vlsxkk3GyWC/bGCTMAJe7uZOkmiXcAaLy HOssF0qqXp3Y8h6lswQ8H2JTNwQNQgZiqsVQJfWYBAj1UezEAAGw9oGguEEsEJqHD+ya goog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771480283; x=1772085083; 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=oOT1TOzEwQYZq5JX0qTFAM3MCuWoZ9r71oq9P6+0W2k=; b=kRNAmNCYwKrmKLC71pIwkpETvIujdzh/Vy6FQmVWGpBqgUrgJJmPTjR0F6+2UyOmk9 TGadw/cGHTRa1XTsl5jsXuYG2KnDkWzBhDj5dbAsT49KThVKRR9hJrdfZy1zM7RtVZ6t l6iCBn9mwcf0sDAFgv71dQNG92KnvyKc4iTTaFo+LSSMzu26e8fm5UA2XD/RlSkEP7wu QUyYtVJELaaZcHdaFTd0+TJY2QybSTm/6aee/eQ6gY4MNQSz3e+ui99kWI9AR78Gkk6r Oj8GS24QLqJPiibz16Sno4nxw2RbDk9r3yOAHBd6fPK1gv0Bk0goqnK31/u9JFOAt6DD yOyg== X-Forwarded-Encrypted: i=1; AJvYcCWSCB9sE4MdSaDh9NyQ/p2RpdjEPnBm/zqhIaPLa1520JTcr9w/UwmEjkbUksQpBs7tV0xlfrNnNezATtc=@vger.kernel.org X-Gm-Message-State: AOJu0YwHg5QyeXN2j0Go3qHNyq+gG7WDDrvLDjZXyZ9FBAJoYauCU1Qx bikvx3Pr0JPliRv3t/gWGBo/O3O+t7wkqI8w072K5RMvtg3fSXXO0CrV X-Gm-Gg: AZuq6aLPttQiEr8yRLefiQTDFS/06m+gOimVQpDmOec06Do3f2Gllz6TSoR7OdJN6Vv FXTsvXIotIelOA3u/2ohzuDabBR+Br9H/GyKh0Hc+olnMIrW0RXQUScsaJgOEV2eieXwUdDlBYE ly8Sf0rrj46gMvE0pGQns/dzlMOqeEqU23Lk/blKyvsRzT3rHYlIoOX+6lQZm8Fnc+f8PAP5CdH kHehbQCeNq3vnRkTt3x8jRdbur+lQMd9TCgL8hyFMHbeMkUnhtTgCAEvkO0ryLWmcWQTJtCASxF nIkquKgtlnqAiFSUWftK+IJsSCuuezFFx3A0cirXTW4rZc5LVU6ahBKSLgx2XLYsfjOf7/Uj2U1 +8B1UN+A9qY3x/nzahmg0pI2phQPF86RQrH1uvw436OoVhci+dKMhjDi7g2BDziyK6Pv47gtpBP YOv9iEw9MFjF/zcdzMntujkXB1BEEzXmIq79K8qfJAwzokm8YQjtb+al4O8kzJvHhszjGriz17U 7wE2x0tQhgSTA33xKxnlZF67IuExbqZf86IOQ== X-Received: by 2002:a17:90b:586f:b0:34c:a29d:992a with SMTP id 98e67ed59e1d1-356aada821dmr17081014a91.34.1771480282682; Wed, 18 Feb 2026 21:51:22 -0800 (PST) Received: from lorddaniel-VivoBook-ASUSLaptop-K3502ZA-S3502ZA.. ([2405:201:31:d01f:321d:fdd0:3c02:de61]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3567e7d95d8sm26300755a91.2.2026.02.18.21.51.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Feb 2026 21:51:22 -0800 (PST) From: Piyush Patle To: alexandre.belloni@bootlin.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: rtc: isl12026: convert to YAML schema Date: Thu, 19 Feb 2026 11:21:15 +0530 Message-Id: <20260219055115.195302-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. --- Changes in v2: - Fixed schema validation issues pointed out in review - Improved example node formatting - Removed redundant description text 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