From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 954BAC433B4 for ; Thu, 15 Apr 2021 18:59:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C35F6115B for ; Thu, 15 Apr 2021 18:59:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234506AbhDOS7Z (ORCPT ); Thu, 15 Apr 2021 14:59:25 -0400 Received: from relay02.th.seeweb.it ([5.144.164.163]:45649 "EHLO relay02.th.seeweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234130AbhDOS7Z (ORCPT ); Thu, 15 Apr 2021 14:59:25 -0400 Received: from [192.168.1.101] (abac128.neoplus.adsl.tpnet.pl [83.6.166.128]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id E5B541F49E; Thu, 15 Apr 2021 20:58:59 +0200 (CEST) Subject: Re: [PATCH v2] arm64: boot: dts: qcom: sm8150: add SPI nodes To: Felipe Balbi , Andy Gross , Bjorn Andersson Cc: Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Caleb Connolly , Felipe Balbi References: <20210415104159.1811077-1-balbi@kernel.org> From: Konrad Dybcio Message-ID: <6d861c1b-76e3-5572-8ee9-ca2c803eeac5@somainline.org> Date: Thu, 15 Apr 2021 20:58:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <20210415104159.1811077-1-balbi@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi! > Tested on Microsoft Surface Duo (DTS will be sent after -rc1). Cool, along with the Lumias we'll now have all the MSFT arm64 qcom devices supported :) > > + qup_spi0_default: qup-spi0-default { > + mux { > + pins = "gpio0", "gpio1", "gpio2", "gpio3"; > + function = "qup0"; > + }; > + > + config { > + pins = "gpio0", "gpio1", "gpio2", "gpio3"; > + drive-strength = <6>; > + bias-disable; > + }; > + }; > + This format - while technically still correct - is now considered obsolete. Please move the pin definitions into a more concise one, like so: qup_spi0_default: qup-spi0-default {     pins = "gpio0", "gpio1", "gpio2", "gpio3";     function = "qup0";     drive-strength = <6>;     bias-disable; }; (hopefully Thunderbird didn't mess up newlines here..) Overall, the patch - while on the large side - looks correct to me. Thanks! Konrad