Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1176974lqa; Sun, 28 Apr 2024 23:41:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgV/2DskCBspkF0J0FQlY2aNCdG0k6vxm7r+A7BFyji0Q3NO4gB47p+3xQFipnbaNXHcBIvKsLvP+448hBhuFCgGi2jBR0WyfcY0YuXg== X-Google-Smtp-Source: AGHT+IFHsbYZWkXLryyO0ln3PvJGMbPZ6GicDZsXAs0pQT2QBPz9iMrsg4itr6bb0Xx/dw//JrMy X-Received: by 2002:a17:90a:5314:b0:2b0:e607:f6be with SMTP id x20-20020a17090a531400b002b0e607f6bemr4478578pjh.30.1714372898656; Sun, 28 Apr 2024 23:41:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714372898; cv=pass; d=google.com; s=arc-20160816; b=ITxaet54SV3l+dENIqgSBQLbi21uDw2Z4MFhndVMGEUOt9TvvB8VbqpclfI7efc56M 32bIc/Xp7SgwQWuDjB9WZB4zVcq2N/KEPYErWKMGRm2X74UDotrUNHdHMUgRgmG097Fn ePF0zwtKuLX6zEZ/SYK5P4kI+57xyexzHWzbk4xRrourgdGcaNMInaRSfCsfjZNmwZ4C O7bBkwKZVxvo+bYBaJYHA3NfE3/ddhKmEwCEOcFdLfHcdDDGXdFTsDMCO4We0IfHcNN/ yGsLi2/qYM9g7FAh1rL16Oyt4egB0x6eQwxyss88KINuw6ZfpAnlm1niX6vWwMNID26i PxyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=WgBY4OmPcqw82XexSWZuwlH1PM0/PzczUye2q4AdVKI=; fh=QKAAi78vw5TPmd/o3QRT609gzOzoGEhRGpMGJyd4p/g=; b=R2O8kEy00pLtqLOc4yXeEJzOxqfcJEZDFfEM246OH97pHKXDrP1ZC6cr2vXum9vJcm nFvMqeGDPHLXAE+5B/0VROSon75Gr0cYEMpeSwccmSwYx25UdTICCyb6HjZn1+inIzLZ MYIMjnD6NDpks79htcCQ3dCTNCSu2pCxRryJHaZr+ROoH8X+ouRL5knPXMO1faAGUoys 5/bQPKPH5JmF2DXIIWTfVpGplllWxxrWwJfmudd1qvchT8TByzOQR2NCRhZLBw6ro7rg Dx5k7eTaNtQ7A0yQZnsv7oBcr/baoZ0agBCyA5c8LYkQvYRBQsvkpbUWFzo55oDosJlt /lKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c9SMrj7j; 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-161817-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161817-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mu13-20020a17090b388d00b002b225753c36si122493pjb.37.2024.04.28.23.41.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 23:41:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161817-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c9SMrj7j; 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-161817-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161817-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 47F5F281024 for ; Mon, 29 Apr 2024 06:41:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1E501171A; Mon, 29 Apr 2024 06:41:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="c9SMrj7j" Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.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 9097914003; Mon, 29 Apr 2024 06:41:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714372893; cv=none; b=POzvISKFs7pJ+yi2U5l14rZ2NIu3EnwCucd/CnR6TqL7rqaC6MfiSH3gGMImEubsdnW3x7emh1DebN4/KDRf9yj4i4eGT0/SLH4ksPXUUj24U/T5V/bo62RPEpEVGB7yMzfO8SSdZHMJZU0QPu/SAH//vBLItYk4E6Cg+qOAP18= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714372893; c=relaxed/simple; bh=h5Lbua+VlAcWdhu3QeUSNO0WmUWPNQk53Q3LU1vs5Vc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=W7fQ2DZt5oVWxf+z6tPcoH2D6CnoqSMNcUmwruhwwFj+3eGTFCkZoPP9RiO+Ua0io4PAGQatpVz9MDULqPkIXxBkNDXjnU7q2bWmDESUHNAM7kBzziw5vtIUhH3v+3+G4X4F3tNTQK5e3k35iXBCCQTn2YugimUjqPIQ9c+HsSg= 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=c9SMrj7j; arc=none smtp.client-ip=209.85.161.46 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-oo1-f46.google.com with SMTP id 006d021491bc7-5aa1bf6cb40so3045002eaf.1; Sun, 28 Apr 2024 23:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714372890; x=1714977690; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WgBY4OmPcqw82XexSWZuwlH1PM0/PzczUye2q4AdVKI=; b=c9SMrj7jwUwdpWr6gcmiJzxI2qbfVOj6HT6zRZdr0kxDr9mPzD2ytNsrE/uAX7rGDd 7TsDr1DmE8zk73jvUTH1cSvQsxWC9WGb+RiW2tDr1DUz6KlyQ27bXQ1eay9ipDafPWtV Iz6M9E9Hevo7Tp0eG4u6wQ1NkM3N8oo9w58IcYDM5dNE9aFCu4Mln3My/Q1951pHqVXB XienHoy2G6IMvwHVYvjT7igctmfj9attnYbTHCMHx6/gzXDVl+JvyTMA5b37u9ETPpcd iekX31jXrBJkPaB+Ckcu1v1CUf8QDinvUh936bnNj9W7+2Y3TAJKt0sS3Ro2c+GbpU06 cxkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714372890; x=1714977690; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WgBY4OmPcqw82XexSWZuwlH1PM0/PzczUye2q4AdVKI=; b=DggeSiyeUh55yH4Dq/HezSkyvhZutH55J+pr9JDkO+swEve3G3TQ4bjwvULUWtviRO kpWgkhy4jpP24LSqdGL0rFQIUv33ajxLGzAfiNAexMZoCB8j46ktUwyN12t3A+sBpWA6 V+I4/RQDZ19+m4y+u68dytV9pF/I62gQS0du/gV+Ld8l0i7NpWKtcvFAfEyAfpoKJszr 3EwDlTam/JKXHn08xib3H4LoawslowOK9Yk20VGd3a8oCKH8MG+UCPjStkYBMiRryZ1Y GGErGJbXajslxBlhtiBMv/j9aCvdsv3517b+6yOe/p60PDikMstBbo+29P51ZUyL9W7r 4ZxQ== X-Forwarded-Encrypted: i=1; AJvYcCXnoFH/S7LEqpqSAWv6WZ5PHQaS0jW8ul6F3V9HLb4qt2YLld2392cmrfvFQ1NCQn0DPfr2AtZO5/K/3Lbl6g5D9pE6aBB3bKZpo4D7A1ib1pJS1MGp2JMDAM/BnmOgSmbvu0IHSnqvphfe5vTSXIl3tEE+6Fvyiva73t+Lg0KjNrqLhw== X-Gm-Message-State: AOJu0YxD8DsJbcFaVzQM/jdqKRvHgN0vzpdTGLSWaiNqBmH90xbWgBl4 xgQ0YoCttx2cV1hJYfBn6b4Zg1RzDo24Wan5oXIIYIQ/wFjiAjEd/xqkurT+BBiU7m2N5wFd/7m 9tiBQdn24hMaY2CBeyD0KCnP8znw= X-Received: by 2002:a4a:ad4b:0:b0:5ac:6891:cee7 with SMTP id s11-20020a4aad4b000000b005ac6891cee7mr10929162oon.3.1714372889534; Sun, 28 Apr 2024 23:41:29 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240427075426.662671-1-qiujingbao.dlmu@gmail.com> <20240427075426.662671-2-qiujingbao.dlmu@gmail.com> <40eee0ca-fb15-40c7-80be-a1198f37663d@linaro.org> In-Reply-To: <40eee0ca-fb15-40c7-80be-a1198f37663d@linaro.org> From: Jingbao Qiu Date: Mon, 29 Apr 2024 14:41:18 +0800 Message-ID: Subject: Re: [PATCH v1 1/2] dt-bindings: mtd: add sophgo spi-nor-controller To: Krzysztof Kozlowski Cc: broonie@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, unicorn_wang@outlook.com, inochiama@outlook.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, dlan@gentoo.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 29, 2024 at 2:18=E2=80=AFPM Krzysztof Kozlowski wrote: > > On 27/04/2024 09:54, Jingbao Qiu wrote: > > Add YAML bindings for cv1800 spi nor controller. > > > > Signed-off-by: Jingbao Qiu > > --- > > .../bindings/spi/sophgo,spi-cv1800-nor.yaml | 33 +++++++++++++++++++ > > 1 file changed, 33 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/spi/sophgo,spi-cv= 1800-nor.yaml > > > > diff --git a/Documentation/devicetree/bindings/spi/sophgo,spi-cv1800-no= r.yaml b/Documentation/devicetree/bindings/spi/sophgo,spi-cv1800-nor.yaml > > new file mode 100644 > > index 000000000000..121a80fbf2d5 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/spi/sophgo,spi-cv1800-nor.yaml > > Filename like compatible. > I will fix it. > > > @@ -0,0 +1,33 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/spi/sophgo,spi-cv1800-nor.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: SPI controller for Sophgo RISC-V SoCs > > + > > +maintainers: > > + - Jingbao Qiu > > + > > +allOf: > > + - $ref: /schemas/spi/spi-controller.yaml# > > + > > +properties: > > + compatible: > > + const: sophgo,cv1800b-nor > > A bit unusual that compatible has nothing in common with tile of the > binding, thus the name of the hardware block. I will modify the title. > > > + > > + reg: > > + maxItems: 1 > > No clocks? No interrupts? This looks incomplete. If necessary, I will add clocks and interrupts. Thank you for your suggestion. Best regards, Jingbao Qiu