Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4062717rwb; Mon, 31 Jul 2023 00:03:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlE5ZShDK2X+KHcXCyyrxpgqKusrpDGAXP3wlKsTON+lEdB8AECA5Uhl7qNRbh4s1MLk+M9Y X-Received: by 2002:a17:906:3185:b0:994:1eb4:6896 with SMTP id 5-20020a170906318500b009941eb46896mr7188837ejy.25.1690787001069; Mon, 31 Jul 2023 00:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690787001; cv=none; d=google.com; s=arc-20160816; b=bbNHPVEo9ItjXmMtiRrmRun1ZF98Yv0EMtR/VVjYxN/wyRHdX1S1WNdXQeGc5y7WCG pBB/66KUI6w8/XOY1641P+O1HkVv6bEXyEhOwKZg+yvR87uNoSp50BZddeKlk3YpX0Af S1LWU+sQo9asekjA1UKQ86uOj3hsroJsSva8IrUUUvVEHc7kMopaicFdWR9uuUqItLaM tVpbgIuDNg9o+bkFNmUgLuPjtJ42nC7XRets6l/W0gdJAxR6rOjvijQu7kC8qEcOJ6bA WKaV+6/m+Y6HV6gPjR1iWqmQazrLUeN4jrcQZMAfMUiPVFNc0y2xyhvzxEth3nK6If9u fCCg== 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=B+CfR0bQL2f6+lX0xcgogwy4lwpWoaSnfppJn89aXWk=; fh=jd4VZy+pfFTXViXaaiZRoDSy3J6x3kyGUJePFmXIxWs=; b=uxNFh79EQp9OzuHX/AhgaAnGURjK1KSN6myPZKN32RT3tpkSkWNAlj748MRztl8tME 9v5acDNc6IVtKfQgBQI9txi1Bi4GPFrgjo0pgpQJAGHP5k9Fp2nvgdZAL89w5aUduJjc /HdSrcPDW7Ea3YSZ9mUCyX92NcCXUYLdsOVNTFKg6YOdxg7ARwRH1qwbFWcZrmQcZIz8 yNTiizWABpItlzXC26Jw1775ocBW47245Wxzkalp1qQv4pGXsc65BC8WwX4tSHAwxI5x /yzwAsMoZ7JaQIj740z5FA5EqYDd5s6OGIJYJSjYXNo6njgg2zpuzBp0K/Rp7eCLjmfB c6TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GUWEp9Ec; 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 j13-20020a17090686cd00b0098dafe075ccsi6340461ejy.97.2023.07.31.00.02.55; Mon, 31 Jul 2023 00:03:21 -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=GUWEp9Ec; 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 S229445AbjGaG43 (ORCPT + 99 others); Mon, 31 Jul 2023 02:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjGaG42 (ORCPT ); Mon, 31 Jul 2023 02:56:28 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 647D511C for ; Sun, 30 Jul 2023 23:56:26 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-51cff235226so8700943a12.0 for ; Sun, 30 Jul 2023 23:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690786585; x=1691391385; 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=B+CfR0bQL2f6+lX0xcgogwy4lwpWoaSnfppJn89aXWk=; b=GUWEp9EcVvFYEpYWiL5hR0u5tRun0bBc6gdFUvEBr2ca3dLBFSo6wwuoZiXMZyYcGD toPpNRTJmFbjOdjqrqdN9KUbye/dlF3PdTH+hVVWddJ3NQm+3YemGfRml6CO3sQZz0AJ k40y+yRttCxEEBZfU6nPOUUuRJb1y3VSgGEDu3AEyi/ON0hOWEvwOpeBRdXfZP1dY5hN iIfhwvprSpoM5NNiKDagcfVcEz/9BE6EQQqPaByg1RwYmcjw+R3zzMI0VuCQhPL+y3w1 di6R+PU9hprzInMd9hTptP6RBthie/K7BbO0a2lbPIAlHveUdJqQN2yfVh77ZhR7hJi7 hqcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690786585; x=1691391385; 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=B+CfR0bQL2f6+lX0xcgogwy4lwpWoaSnfppJn89aXWk=; b=FoAVOLJ5Kfwp1lFSpEEr0i7RN4tKWSOGb5bjuoQIVS+2DoDhds+23MmOpm8GgktIOf yZ+Q5FEaoXG8yWAzOPd+xNmZ9sHOWHF8puPyD7e/gKAl/P32iG7VfKNqe/XJ0cBAjZiN cIM11St/unZzlexu/SkEg07Ym67YXG868139O4/LKk3FL5DgAPZFc8SZaWpgDSwRpZ9Y kpdzuR8qSBJFtxQQzjFeytMfYg2h0c09lYxMj5mk+LgJ0ALct3Usu5k5cswTfQxN79VS 4pXcqFV1coEC01mREWeSO2uyCOgHedIvCHoge2iv+cCUsoIKtuF43U3oI9j1sYDiHLyP GqxQ== X-Gm-Message-State: ABy/qLZJxPm4djUuhRbnkJzX6zHvVGkSgXd0bj1qh2tdlwinei8Pribn d4Y0/36d579MgDgZ8M8mPM0xQQ== X-Received: by 2002:aa7:c84b:0:b0:51d:95ac:22ed with SMTP id g11-20020aa7c84b000000b0051d95ac22edmr9574982edt.1.1690786584828; Sun, 30 Jul 2023 23:56:24 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.183]) by smtp.gmail.com with ESMTPSA id u24-20020a056402065800b0051bfc85afaasm5011296edx.86.2023.07.30.23.56.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 Jul 2023 23:56:24 -0700 (PDT) Message-ID: Date: Mon, 31 Jul 2023 08:56:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: Re: [PATCH 07/17] MIPS: loongson32: Convert UART platform device to DT Content-Language: en-US To: Keguang Zhang Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Bogendoerfer , Rob Herring , Krzysztof Kozlowski , Conor Dooley References: <20230729134318.1694467-1-keguang.zhang@gmail.com> <20230729134318.1694467-8-keguang.zhang@gmail.com> <2ee2336c-d54f-6fb7-0142-8d0e08cce25b@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 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 31/07/2023 05:32, Keguang Zhang wrote: > On Mon, Jul 31, 2023 at 11:04 AM Keguang Zhang wrote: >> >> On Sun, Jul 30, 2023 at 4:26 PM Krzysztof Kozlowski >> wrote: >>> >>> On 29/07/2023 15:43, Keguang Zhang wrote: >>>> Add UART device nodes for Loongson-1 boards, >>>> and drop the legacy platform devices and data accordingly. >>>> >>>> Signed-off-by: Keguang Zhang >>>> --- >>>> arch/mips/boot/dts/loongson/loongson1.dtsi | 54 +++++++++++++++++++ >>> >>> Same problem - DTS is always separate. It seems you made this mistake >>> everywhere, so entire patchset needs to be fixed. Keep all DTS - your >>> base board and extending it - at the end of the patchset and squash it. >>> There is little point to add new DTS in steps (e.g. first add incomplete >>> broken DTS and then immediately fix it... no, instead just add correct >>> and complete DTS). >>> >> Sorry. I thought it would be easier to review for split patches. >> Thanks for the explanation. >> Will send v2 with one complete DTS. > > Hello Thomas, > May I ask your opinion about the way to delete the obsolete platform devices? > Should I delete them in one patch? Or in separated patches? subsystem patches are split per subsystem. arch-code can be either together or also split per type of driver. Removal of code is incremental. Just add extending it, but your patch was not extending DTS, but adding new one. Best regards, Krzysztof