From nobody Tue Jul 14 13:57:50 2026 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 792B464A9F for ; Wed, 13 Mar 2024 18:43:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710355405; cv=none; b=BGK5fO+IVBwZO5G0l6gcyhTo/oth/CahrmG4CZIOab/Zgjjjy6jCWJ0zX4bPh6xG4lWPmBDFSR/M3F9mqEvViz4fxuCfyONic6r1dELTytbggiocYwbA6V/zO48e6ytZhfW+NdcjhnrYd7jfkNbVhbipt7jwVw1pg1eOPmAxHEA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710355405; c=relaxed/simple; bh=3R4Wjm81M1GFzs4RNpcOl5nGXkLgjelK4w4ezqR/iQk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ake/tIsFfKtw6t/qpGepoicE71EsHRCMQSpcos2V1apRM4C7hAJaqMoqiAx1gLbwmWqpFhoAFdojfAmeXT5zjm8ml4/pQ9iiT1ZUjzmFhYSecSygfp6QsxsJuqK/WsjMQI8c+UofICXpCYgLmegvSx15E/m9i+vpl1yFZH5dqWA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Rs4LGHbj; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Rs4LGHbj" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-33e99b639e0so82561f8f.0 for ; Wed, 13 Mar 2024 11:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710355401; x=1710960201; 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=8n0lPlyrShI//8JiMT39EqPm72VEaGOIKCdfE8EEWSU=; b=Rs4LGHbjw6VuKzIWp1U7Ox1kYBI5hoz9OXLDPMqeBxdAdbDJQmobsuO64EU0tmDnPM NVQ98soonhhMtEElar0o2ZrNN2XJ6gJoAaxlDn7H/wiLdPhul3wL/eGhvT6/cccrrarm RNUQxSH/uS1jhADZ2JhyjhDve0CQBafDT2q6D8VnCd4tG0DPrxGihohOW7ZndlN4/qnn o1pfg+JSR8/km3U46nzduCB58xS8xYyPSoBLpuZnt4+eKm8NRPEjdmXkX7K5FnGJ54Qb IiuCQwioEmfEa1vrPp68acAnS13tdpbtoVhlFGf6DlIWzZvts1FR+UWEZccF5Xdlq4sz UKHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710355401; x=1710960201; 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=8n0lPlyrShI//8JiMT39EqPm72VEaGOIKCdfE8EEWSU=; b=Jwp7wJLade0Zmu0ODbTPxqgmtFCX35ijHxI+ja1WbhUJzzUxYW4iKYa/at1EtABcVn mKJgaw499KQ4iuXd08G0z+yjUY9hGUGh8u33kcGvqAtWdUAoqSGsW/+WWkzaL3iXULZf QYvaRozDgCWFJxzzotXPzhGpuOaR8zqQup2hhQXBYbFXMqeu7vuYAipkgRFslPQVirwl q0gxpnbSCVmNW7CVtBRdDxAQV8Z4+Tml1TusljRgpJ62uQXDydTtPVlbNDImLfBwDVgZ BZgZJP9pPhl2LYwDJ+AMWJGIDr56JG/qfoXYI4B3fhH7r1jRMxZnLLE2hEicgvyTh7f0 cLsg== X-Forwarded-Encrypted: i=1; AJvYcCWkFY09dmYAJf11+jlBMOHmQGO0ZUL5CBot07j+yL4lshQst/SsH9Amy1ZUAgptlGeB1HXeHWUM+3GcYH97J3Lhg/KrinWCC32DBKGR X-Gm-Message-State: AOJu0YxhfEKtxFCMek1zXx7uhJX31hN6IyGIkCEbDKLWsHShNBDmcgPQ Ywn5w4SZ6aC57Ifoo5jEEp+EDYJNs2Rj0gnElXpOAN7niOnri9CHaWJVf4VACO0= X-Google-Smtp-Source: AGHT+IFh6nC+wEZ5G7Ev14Omc+KYBIzxoV1gKK8YvRLpLLSqwI2dCtd02o4bOiCsIajL1CJFY0t74g== X-Received: by 2002:a5d:40d0:0:b0:33e:7719:325d with SMTP id b16-20020a5d40d0000000b0033e7719325dmr2575350wrq.2.1710355400836; Wed, 13 Mar 2024 11:43:20 -0700 (PDT) Received: from krzk-bin.. ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id l15-20020a05600012cf00b0033ce727e728sm12192423wrx.94.2024.03.13.11.43.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 11:43:20 -0700 (PDT) From: Krzysztof Kozlowski To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] dt-bindings: mtd: Add Samsung S5Pv210 OneNAND Date: Wed, 13 Mar 2024 19:43:17 +0100 Message-Id: <20240313184317.18466-1-krzysztof.kozlowski@linaro.org> 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" Document binding for Samsung S5Pv210 SoC OneNAND controller used already in S5Pv210 DTS. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/mtd/samsung,s5pv210-onenand.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/samsung,s5pv210-o= nenand.yaml diff --git a/Documentation/devicetree/bindings/mtd/samsung,s5pv210-onenand.= yaml b/Documentation/devicetree/bindings/mtd/samsung,s5pv210-onenand.yaml new file mode 100644 index 000000000000..e07941b69904 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/samsung,s5pv210-onenand.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/samsung,s5pv210-onenand.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S5Pv210 SoC OneNAND Controller + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + enum: + - samsung,s5pv210-onenand + + reg: + items: + - description: Control registers + - description: OneNAND interface nCE[0] + - description: OneNAND interface nCE[1] + + clocks: + maxItems: 2 + + clock-names: + items: + - const: bus + - const: onenand + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +allOf: + - $ref: nand-controller.yaml + +unevaluatedProperties: false + +examples: + - | + #include + + nand-controller@b0600000 { + compatible =3D "samsung,s5pv210-onenand"; + reg =3D <0xb0600000 0x2000>, + <0xb0000000 0x20000>, + <0xb0040000 0x20000>; + clocks =3D <&clocks CLK_NANDXL>, <&clocks DOUT_FLASH>; + clock-names =3D "bus", "onenand"; + interrupt-parent =3D <&vic1>; + interrupts =3D <31>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + nand@0 { + reg =3D <0>; + }; + }; --=20 2.34.1