Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27463275rwd; Tue, 4 Jul 2023 03:23:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlFAjdCQQ5RKLbY7yUzFjWYJu2rNkrPkrfMMc2Xs1GNW4uVhjaJHB/0KCKhOrVq+fhEfbYab X-Received: by 2002:a17:90a:db87:b0:25e:a8ab:9157 with SMTP id h7-20020a17090adb8700b0025ea8ab9157mr12262400pjv.22.1688466200347; Tue, 04 Jul 2023 03:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688466200; cv=none; d=google.com; s=arc-20160816; b=uNtEMN1MTPOQFZmKMFKHv88uYo0LjyXF0uEXNY5xdIjvFRBg2xMQ5YCm2/h6+12GA1 zYPzDAllasDMOABP+IgPlIO7scw1aL57AP0yUIyrj1Zqtjq6mqBUokvUoOCliEn9w+B1 02RAT9NVGvpSfK07CQn+NYU8LxVW/aP0f+JpAZ/SY+0a7ETt5oBIag/gSeU95TU7AMfH VAaOmuccg/K25/7qk42p/2mpJma54hIescI1FdH5JL/A3LkmdtU6FOLjz97mHYgPdcWX 3i+O6WGWrrClkx+mdvyGlBdDCyAIogBT7MA9LioLqbg/VzPUsWJF0GEVndTp471DYouZ O6Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uJ0qtnupAs7ltHx9bKvNPX83TbrwpqmJjWVOcNgIVHw=; fh=PUeCXPHy8sh8reQuZCSx5PTz1W5I1Xd+aM8HQYV2908=; b=q+MkAKG5YhqFeP5RkM3Q9pT9K8qL0EOHqHlL2qrLBfYWaf5Mqmp9KwSExQ5rDnnm5M DjvibLAmk9H2FYYE9sCq1E12OE0Zik9Nk8prKuF3lwbbKNdpys/xyNs3bU6k++YLCUtS kvuxmSxqmNlLO6Uca0IE8qUFqE2XvRp84tTzbmX76ee4sipQX2uPWGxVLzWt9i1zVTkj 8kM1sE7nDkOa0jLG4M8ahfQ1BYchNoAM9IOrEpMrFrLd+SsQ8S8qOjMDBj+fsuAbPj88 lbi40QfWPNkZl+9kNwcXIj7ZQ7SatwMAwAoyb+ZaPuD5JS/e+yxnoP0Aj/5DwaXrR1Y7 6JIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=THisYSUq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx3-20020a17090afd8300b00263a985aba5si6162069pjb.149.2023.07.04.03.23.06; Tue, 04 Jul 2023 03:23:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=THisYSUq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231959AbjGDJlh (ORCPT + 99 others); Tue, 4 Jul 2023 05:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbjGDJlY (ORCPT ); Tue, 4 Jul 2023 05:41:24 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD7EF18D for ; Tue, 4 Jul 2023 02:39:33 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-98e39784a85so970555866b.1 for ; Tue, 04 Jul 2023 02:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688463572; x=1691055572; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=uJ0qtnupAs7ltHx9bKvNPX83TbrwpqmJjWVOcNgIVHw=; b=THisYSUqeNl/i8NXmLzxvee7RSsIi+PJ0hgPODvCHhZ4VsWua0WflWx+IRCsmUXjpq drjQYwXK4wZ0iZ9eujy2fYbfv37G1kGqijXN2tDkpYzQ0tdsrshyu3krVhNDDtZcTcnW Gk+AHF/A9F8TXdvAvTC+djhiSteHcBAJ9tfIMHjTee96u8Op6yhuST1+1l45tlN77UA6 biU0qAI+2Rhv+uXDby5aRwOZI8RYkmoB6ipJp+bJlN8tTBST5qscGnJb9mjz8zMMc7/C Vxd/kObQHi1VV2CGayihKXOk+Z6ycEGXdAXXSfK0mBZIr7pQ3iB954Mv7ZhS4H6qlhQD EqKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688463572; x=1691055572; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uJ0qtnupAs7ltHx9bKvNPX83TbrwpqmJjWVOcNgIVHw=; b=DDZwy3hr7yDlp7gll9Um4ifHTTRTZ9VXbJFN49eJ0TaFqPG9uMM35ZLP1/D+4KedXL mpzcBSB0Uj6XrLj8pXtEWbg723vWmSXqxWi81dl58NWXxzRV/CPPNVxU+NViTLJlz1VT kAI0ZvkP5lAskvGlf3M2HoZzvRZZ1VvY+8PsdjHekYxIJihJgizdbII84wreFfS68Of9 YqhQQ4GDuXw69Z99aRLEuSWBXB3dFqKObQhcwUDOH9UhIrMv5wTQZVkWL1fYNwx1XJto Fv+jS6L6GSTRasQ2K9xHy8rlEzitgwU/bsGwcqlldVwaCbmMiclW92awdygP4858/IxY w3FQ== X-Gm-Message-State: ABy/qLYSFkiQhSHBTAS/WrnrekbRMjt7DMpJaHh0c13/VbSWTfCtv3Xn XADOnTFQSw3vlIAL/XeagMyYaw== X-Received: by 2002:a17:906:3bd3:b0:991:b7f4:31dd with SMTP id v19-20020a1709063bd300b00991b7f431ddmr10787322ejf.2.1688463572014; Tue, 04 Jul 2023 02:39:32 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id gw26-20020a170906f15a00b009929d998abcsm7422613ejb.209.2023.07.04.02.39.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Jul 2023 02:39:31 -0700 (PDT) Message-ID: <7f3b600d-d315-22d6-b987-eabfe1b04fdf@linaro.org> Date: Tue, 4 Jul 2023 11:39:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [RESEND v1 2/2] riscv: dts: starfive: Add spi node for JH7110 SoC Content-Language: en-US To: William Qiu , devicetree@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Emil Renner Berthing , Linus Walleij References: <20230704092200.85401-1-william.qiu@starfivetech.com> <20230704092200.85401-3-william.qiu@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20230704092200.85401-3-william.qiu@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/07/2023 11:22, William Qiu wrote: > Add spi node for JH7110 SoC. > > Co-developed-by: Xingyu Wu Missing SoB. > Signed-off-by: William Qiu > --- > .../jh7110-starfive-visionfive-2.dtsi | 52 ++++++++++ > arch/riscv/boot/dts/starfive/jh7110.dtsi | 98 +++++++++++++++++++ > 2 files changed, 150 insertions(+) > > diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > index 2a6d81609284..a066d2e399c4 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi > @@ -126,6 +126,20 @@ &i2c6 { > status = "okay"; > }; > > +&spi0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&spi0_pins>; > + status = "okay"; > + > + spi_dev0: spi@0 { > + compatible = "st,m25p80"; > + pl022,com-mode = <1>; > + spi-max-frequency = <10000000>; > + reg = <0>; reg is always following compatible, not somewhere deep in properties. > + status = "okay"; okay is by default > + }; > +}; Best regards, Krzysztof