Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3082063iob; Mon, 16 May 2022 12:40:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrupVtbVMJVcvVfIsQ+v1ZyfEBx2lt5NbkeA3EJkqeMdaPDzIOAZfogjumIZCub0a2E5Bn X-Received: by 2002:a17:907:7f12:b0:6f4:57e7:b20a with SMTP id qf18-20020a1709077f1200b006f457e7b20amr16097991ejc.538.1652730032513; Mon, 16 May 2022 12:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652730032; cv=none; d=google.com; s=arc-20160816; b=CcR4vSJa2+FJCR3/uDn5Z5cy4IJa4ZC6JGkyLuPODv4LmppWQWo2sLsr55WPh6C+Ff Gysq2wUo6cQ8noXd+O+191f3MGxhMzmY9Rb4lPcKmj1DvSIWGfYeYLG/HM2coAbi+lDh 6fIgMovRC07z06dqo7E1d47yAFWZ5OotpTmWja7L+Ezp7ilNVOnSVlXBA7KGqp/PbMyD GHZUE+XwzlgitRleSjexZ486cPx089pbROUWrQQZVEi16+9KqlCdXNZ7cDgZ4FJ3Kcbl 0yPMD/NsgnfHyLcFLfrErePRFgj8oZKkkLNLJWk4c73hcrQcycoPzt8WKZYqw93oRie7 fIDg== 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=pFiYrDI2KIk/lu+aID8s/T/vZWJ+Pf0jeglf1Qmti9o=; b=Zdi44HPJZ/6Gk0tPVY6hRJ7fCX6roXad5a01Yn+/LtNRS6iNc9faou8UK/eibX/62p s3rpg2gYW/Qlb42q0XtDyrC6I8jR+WXb86hsj3tHo19u4jbKkXNKE5zD3GSPZcg71ulv ZCzHpoy+FLZbYSW/C6lupCFGvjDluo6XMzAYnQk2ctiboh0wxKrhdqcZjGTb7HC0MbS7 Wkcdh0NaUV4q281PaC6FXZLI4yj0fwwBWNgi/Ow7DhOPl/jba+xxTHwGvl/Fud2u4/Ik LGuXLSDP1/3K2gmZ4m3wMMaS2JqIbx+V9aI5mp45gQnfcQVbmtF1fjXjqGhW4aW2ijYn J1vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VZeFthn0; 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 nd40-20020a17090762a800b006f44d992450si335570ejc.11.2022.05.16.12.40.06; Mon, 16 May 2022 12:40:32 -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=VZeFthn0; 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 S244422AbiEPOsj (ORCPT + 99 others); Mon, 16 May 2022 10:48:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232753AbiEPOsg (ORCPT ); Mon, 16 May 2022 10:48:36 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BEBA2EA39 for ; Mon, 16 May 2022 07:48:34 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id j6so29115878ejc.13 for ; Mon, 16 May 2022 07:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=pFiYrDI2KIk/lu+aID8s/T/vZWJ+Pf0jeglf1Qmti9o=; b=VZeFthn0/+Mkzq95FEWhHGeRBLt9ztigE/j/mkGPyMCgjj2hS3+s0bPTWUhaUMSowz +Y4SA+s45rp/kkwNngSt5sE+MtI48OukedYMYYlS5THImNtpFopQ/pw7es4dNn8zT+fy +ElPBay/aVvcfgCjyEX3cuTM5A8Lik1hLDyzUTmOTDGUN+ir1qyXB69T9psUqx7Ahx+M YOUEbuLttrp3s7fVSgeT1wrO2lKZ9llsuaGi1beg4ZEfAs71W72ow4W2l5jtLHPAcBRP Jx7IMw+CSsHfQjd4fhsHYYjMFqQ998LB1sKM2jcO43xcVnddEWmHxTMm09WtRnUgECzy 2d2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=pFiYrDI2KIk/lu+aID8s/T/vZWJ+Pf0jeglf1Qmti9o=; b=IKYnn9g8rH1e+SziNqMgJl9crYTOmguH/jRWrWPr6ydnuHpzD7gmlhx2CQWyMFGx+J Dqz3FJKR9Yo2OwsTUgLMwLjMZkSFhVNZ7SmC0zGRlFJsaMxWM86eM0/kBHgFdxw11HHp c4OF8d89GkfXDUoqw2dx3ruuoP3MWq9g4R9vDsa5klrUbvt0hRT4KkpcQS5WmOQT66ty dj32jnjDAsFWjfWhiMsi0sHboIunX9UPJbpWYN0olBXnWtb3xWHbiO3Wb9yGF0lvhAbX tNILjeiYF1g2SDax+evUSpPklsLqAZf7WolAMW73uuTQj0xLz1mNzl+rWsX8VJYtNLK0 Rdew== X-Gm-Message-State: AOAM53107ko/rPlcyReHu4CBEYNzH3IOUAIyyDV0YVHge0ID0GErbXbO XDeQSI251GxCyDk32CRSyif0iw== X-Received: by 2002:a17:907:e90:b0:6f4:cbc8:41bc with SMTP id ho16-20020a1709070e9000b006f4cbc841bcmr16005231ejc.536.1652712512721; Mon, 16 May 2022 07:48:32 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id en8-20020a17090728c800b006f3ef214e0bsm3787988ejc.113.2022.05.16.07.48.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 07:48:32 -0700 (PDT) Message-ID: <4b58f725-3bc6-d537-ca02-cb2a753227c0@linaro.org> Date: Mon, 16 May 2022 16:48:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v5 1/2] dt-bindings: remoteproc: mediatek: Make l1tcm reg exclusive to mt819x Content-Language: en-US To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Bjorn Andersson Cc: kernel@collabora.com, AngeloGioacchino Del Regno , Krzysztof Kozlowski , Mathieu Poirier , Matthias Brugger , Rob Herring , Tinghan Shen , Tzung-Bi Shih , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-remoteproc@vger.kernel.org References: <20220511195452.871897-1-nfraprado@collabora.com> <20220511195452.871897-2-nfraprado@collabora.com> From: Krzysztof Kozlowski In-Reply-To: <20220511195452.871897-2-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 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=unavailable 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 11/05/2022 21:54, NĂ­colas F. R. A. Prado wrote: > Commit ca23ecfdbd44 ("remoteproc/mediatek: support L1TCM") added support > for the l1tcm memory region on the MT8192 SCP, adding a new da_to_va > callback that handles l1tcm while keeping the old one for > back-compatibility with MT8183. However, since the mt8192 compatible was > missing from the dt-binding, the accompanying dt-binding commit > 503c64cc42f1 ("dt-bindings: remoteproc: mediatek: add L1TCM memory region") > mistakenly added this reg as if it were for mt8183. And later > it became common to all platforms as their compatibles were added. > > Fix the dt-binding so that the l1tcm reg can be present only on the > supported platforms: mt8192 and mt8195. > > Fixes: 503c64cc42f1 ("dt-bindings: remoteproc: mediatek: add L1TCM memory region") > Signed-off-by: NĂ­colas F. R. A. Prado > > --- > > Changes in v5: > - Made l1tcm optional for mt8192/mt8195 > - Greatly simplified the constraints override in the if:then: > - Updated commit message > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof