Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp113287lqe; Tue, 26 Mar 2024 23:44:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU26RwX50Rn5MQe8Rx1haWOLdcl/qhVVY0V0PoVSEFNOP+CdzyhT+6gxNetpWZu2cSvGJ5tTR49kxO8oq8j2n8PoNdAMEgIT/YNRiYX6w== X-Google-Smtp-Source: AGHT+IEXJs0kfhC3v9mPiIHNrKcf7xhKXZIdp+sACnmNK9+NyuJ9RCR0h8tPkL5nRU9OP+5lKBNG X-Received: by 2002:a05:6214:260c:b0:690:96d0:a2ce with SMTP id gu12-20020a056214260c00b0069096d0a2cemr2935987qvb.65.1711521877717; Tue, 26 Mar 2024 23:44:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711521877; cv=pass; d=google.com; s=arc-20160816; b=g9ZhZP5mQVn1hmxntYNQarDpFPu3rWm45uzBeagcXQ5si+bJjLzhr6GDn9uoFYAwT8 ANgXDJ45S+DZjocfZqyulR7P3qVP4QFz0cQbTVmsffCtf8w/7OurjoGiraTfo0gc96Oh 6rylwpNj+Yc0LS4tetoJP4VaVOHInedU0AyZ3sjsLX08goAzvUsbDoSwqE+qi+kDi9wX iVDQH4+7Gvv9ky7Z/nNIy57RF04uU1JNEn0d/xUgfSg1o3SqUO6EcLmblJYgvPONVUD0 oW+OpZYci11tqVLEL2N6LsqpM89tqV3adyH/KO1qcQPsNqHpKqwxqilxt2ZPV9j8NZxA uZcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=r6dZugYqHLKD48hNBCyfJRW1Kclovt4nu1MkauiHbJ8=; fh=SrZo132HT0RYGkaR6VjgZBUL9EBDq3sPHT8HA08LZ/A=; b=1KquAt6xjMymNMEG1yoe/GUKupil+uxEB4FINaLv8f3Y8xM129nEkntdDh4bDtVW5l ZGbrSIbG21C8jPc9bKpdhLxpJInw2CGTjvtbAMBi4LU5jX2BsyC0hZMXxxD5MzbWlnUS NCwSFEn9PNa7gFQQsAkp2C6EukzNeBU9052BiUK0y4Y0w9PAc4D+sBKdj0Jb2T4elwr2 uUKiA9mGllx9B+8E+F8T8hZgP0xq6TuQeFAzE3Spfg32NjuPIzkSvPE1jVbR8sklyRlf 9QXDQt5jPOP3H39G614YqIR6tIYiztsCTTgUITqNzkFxzIGllvmhYbI2TrTQ5pSXvkj7 3AtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="V/syqnZj"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-120397-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id or25-20020a056214469900b00690c04bf41dsi11575882qvb.31.2024.03.26.23.44.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 23:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120397-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="V/syqnZj"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-120397-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 593D31C25C72 for ; Wed, 27 Mar 2024 06:44:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9E61224CE; Wed, 27 Mar 2024 06:44:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V/syqnZj" Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 6C5B92577A; Wed, 27 Mar 2024 06:44:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711521869; cv=none; b=Z5W1s7LiLl2wTzMBMUmiIlqvHh8xTqYqJk0Y/lqMHIrTRvoco4rqU8cAmlDuuxJ7jzeDLhbBgEy021ZkEdQOgQy+C94L9f0FqbZxIBbgt2P6F3JeBD+98wXzdF3mURntgPXgqa07GIoHMG6lKoVUZdFH5MN11bXghsEWFhY5SI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711521869; c=relaxed/simple; bh=gaY4uxUtw/VyYyckWAO5Sda2ZlYWBVwNlEmKIyc4jbA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BeVpFl/YG9YoSEflDgQ8xH+QpVv/JWQLefrfcVnR/ev64rmIUakEvj3F31bQfOAQv0gVW2d/68I/9xEnXnIPUn8SsIGW5vcZxJcCi2YHVn5N6dkp3x9bfowPJaqnQ4VKMlHu9y/60u52J3HzbqyxGHY57NQVmDTnZ8ryfsNboxg= 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=V/syqnZj; arc=none smtp.client-ip=209.85.210.182 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 Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e6b3dc3564so4516719b3a.2; Tue, 26 Mar 2024 23:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711521867; x=1712126667; 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=r6dZugYqHLKD48hNBCyfJRW1Kclovt4nu1MkauiHbJ8=; b=V/syqnZjk4fQBpWZCfFHCRgSxANpkxm0BlsAS4pATVJx75bGehFCjbJw5cTIPWkEgC KENk3OA/afUtJyq19te5I4RGBVEZYRORs9ce1mcLOsiewUVi7UtMS+xBMzH3K1E47FAB URpjdrwGDKU3W0T/pGAKIwUEvux3PF/3vbd5qKY7yVTt0rLI2AzvmoSc9xUHTuQBdT6C iNDYQNUicO5HuC/FswLkFdUzJVaIFUVLGb6RUJcGvDM/ci/WxEzAtm48gGFveigdNK5Z fr8gkgrFwc/Y0qwSHnx2wXMA/jEEmZWk+2YbaWokMu3eUIMRQtb3AS+CnQCwIvC7vj9E D0GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711521867; x=1712126667; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=r6dZugYqHLKD48hNBCyfJRW1Kclovt4nu1MkauiHbJ8=; b=CIg7OD/vPCh+Y448XWG8Loz+4NSug/VBUpcQ+yKMYyZhLYnDps/RgPXcEBVyDNfbml qkS1uD5yM4TmTNFgxYeijV+64lkD+vF1s2t3YS9Vk5ROxLTDmxPi8e/8Jk3Q3FWQHKQ8 3HG4ijaCKcpW5ZZf0h8CPZeTSWBJ3ursKfEP2eeamZiX02frmcR3gcf8rMdcUqWdIWP1 hVtI7gtM7yLvWXEV8A3EcSvs6J8VFfUTrujWKh/gYIMEMDS9gqO/bw0NHFktuxJkeR8e dhMYKAoK0L5JT5rrGU/tPBkTQQuQDMxoOe5WCQcVhl/uTeSlUWi8qPymabuutXFAfOFc dxBA== X-Forwarded-Encrypted: i=1; AJvYcCXHwlBkEcaKvhCfShIOAN7ZXDVta3l0+ZFfusMQpPwtn6koCem4XSZXeC4C+PZdnk55A/hg8f+YlIz0lj48//GcaBhFT40jay7KB9O8pBbQ1VSD7jBAupxl2uY+d76CZO72su0wDJa86uCJdisJzglkJR60MgA5qG9cu4DAIITZ+z3hRA== X-Gm-Message-State: AOJu0YwFlXUWgs8vafsWMDUgsfBPg9iC8oJASI7HqgVWCPEBBvHtyzN1 6BWRblArROV6MvYJmDYcbJBVWlKn7FPUMMt4wt+fMBmayTUnR7JR X-Received: by 2002:a05:6a20:8409:b0:1a3:c3e1:6a23 with SMTP id c9-20020a056a20840900b001a3c3e16a23mr3536644pzd.43.1711521867452; Tue, 26 Mar 2024 23:44:27 -0700 (PDT) Received: from localhost.localdomain ([122.187.117.179]) by smtp.gmail.com with ESMTPSA id v13-20020a170902f0cd00b001e09c35e058sm8074962pla.195.2024.03.26.23.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 23:44:27 -0700 (PDT) From: Animesh Agarwal To: Cc: animeshagarwal28@gmail.com, Damien Le Moal , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-ide@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3] dt-bindings: ata: ahci-da850: Convert to dtschema Date: Wed, 27 Mar 2024 12:13:51 +0530 Message-ID: <20240327064354.17384-1-animeshagarwal28@gmail.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Convert the ahci-da850 bindings to DT schema. Signed-off-by: Animesh Agarwal --- Changes in v3: - Fixed line length issue on line 20 - Removed unneccessary '|' character Changes in v2: - Added description for reg property items. --- .../devicetree/bindings/ata/ahci-da850.txt | 18 --------- .../bindings/ata/ti,da850-ahci.yaml | 39 +++++++++++++++++++ 2 files changed, 39 insertions(+), 18 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ata/ahci-da850.txt create mode 100644 Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml diff --git a/Documentation/devicetree/bindings/ata/ahci-da850.txt b/Documentation/devicetree/bindings/ata/ahci-da850.txt deleted file mode 100644 index 5f8193417725..000000000000 --- a/Documentation/devicetree/bindings/ata/ahci-da850.txt +++ /dev/null @@ -1,18 +0,0 @@ -Device tree binding for the TI DA850 AHCI SATA Controller ---------------------------------------------------------- - -Required properties: - - compatible: must be "ti,da850-ahci" - - reg: physical base addresses and sizes of the two register regions - used by the controller: the register map as defined by the - AHCI 1.1 standard and the Power Down Control Register (PWRDN) - for enabling/disabling the SATA clock receiver - - interrupts: interrupt specifier (refer to the interrupt binding) - -Example: - - sata: sata@218000 { - compatible = "ti,da850-ahci"; - reg = <0x218000 0x2000>, <0x22c018 0x4>; - interrupts = <67>; - }; diff --git a/Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml b/Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml new file mode 100644 index 000000000000..ce13c76bdffb --- /dev/null +++ b/Documentation/devicetree/bindings/ata/ti,da850-ahci.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/ti,da850-ahci.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI DA850 AHCI SATA Controller + +maintainers: + - Animesh Agarwal + +properties: + compatible: + const: ti,da850-ahci + + reg: + items: + - description: Address and size of the register map as defined by the AHCI 1.1 standard. + - description: + Address and size of Power Down Control Register (PWRDN) for enabling/disabling the SATA clock + receiver. + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + sata@218000 { + compatible = "ti,da850-ahci"; + reg = <0x218000 0x2000>, <0x22c018 0x4>; + interrupts = <67>; + }; -- 2.44.0