Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (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 7C6C712A173 for ; Tue, 5 Mar 2024 21:07:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709672879; cv=none; b=bS+0+oZNUC9MUB04fGAtNj5vL9AgCLKDfiCVfxAlqNUvOyuLqI3H2UfYABbLHeUl+N+d8Ge5q/4GqXsduxz5ALxCPslC/wqw9Tm82yYbOjq0iqln25hXeX70FDsdPM3kfrFfCryZ+HDW7day9g5sdzSQDQ3J544eIBOLrTw0BFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709672879; c=relaxed/simple; bh=b09ID0S8XkErCqQ2Ru57MwiOAeJTYdJ0mk6wlA5iiPQ=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=DPDmAAlQlZ2+PBgTtmSXwdyKpKcus3rlGu0D59qEt3X7T2QOZIDmarjn92V+qFLYn17DuCURmmzqMiR/8tN6hvbeLTpivuNqDJ6QrBktlRZxy2L9VVcYTfqR9/gSQOvBwC++NL+FbLXkxVaJ8c/Eon/VJKy25XSY0dUbR+QCEeM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=b6pjJNYH; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="b6pjJNYH" Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-51325c38d10so156521e87.1 for ; Tue, 05 Mar 2024 13:07:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709672875; x=1710277675; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=b09ID0S8XkErCqQ2Ru57MwiOAeJTYdJ0mk6wlA5iiPQ=; b=b6pjJNYH8qiTMx3PGtSfc0eRO7APB4h2wPVWKuvTs2npXiseiriE2Yv0Lmt3arIY5e aWVsbXJ73ADVr6KoW62Wwwsep9coBfXHltW1mWlLUNaVntkTqAaGmxMWU7JthpdVMvq+ YAbl4kYGgYYh5P1pZ7DxvBT0scSZKI96R3gSjBzf2BpdFz/npXLDquvB7BDvx6Ueq8Yg K99lZTejysCZ3ks+dkotnsMNi1DkdxUEBoNJTslOKp9j4gBHgJlmJfGJI+vz3aB8iDwZ GXk4qInyX5wly4kCaH7zDE5Q+JkYAlbkM19IJWFFkcrOIX0YUiC7AbB/pv0jWFjfy+fh z1sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709672875; x=1710277675; h=content-transfer-encoding:in-reply-to:from:references: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=b09ID0S8XkErCqQ2Ru57MwiOAeJTYdJ0mk6wlA5iiPQ=; b=JUsMCIYJvPR2JrMsuHIITJ7aWfcvfh0rdVHjk/hp5XeH2e5pzDYwPMkByXazdYYkC9 jUKtnP95FlhKZ5lHDphk6Yenc4BeCBJDUynlB2P1+TJ3LEC2QW1fwzLXtDIPH7VI/PqE K/kFlorbVui+oYgrcb+s9RGgeQCPHdNujtGCazOzLx6ILKGsr02E0pb/bW4iCHc89WQY kU6C0PrRQYVg69Ij1nEMOwCYjSbZHqvcQuVfxM3sQboo+llOXhZRgCwJQJEJS9pGA8sM ZqSkx+d30vLtXhxozDf40c/thQV9LUL3uQza5XsAIXwViCavNrsHf+I5+7rAzy7ptzpb NCAg== X-Forwarded-Encrypted: i=1; AJvYcCWR2OW2BnEsaC4/f3aGi/9HoGg0Lr1q8+FABcdThZp+X6smQbcgdlzPuTjbZoJyOO95eOc7aOguaIayqLApB4Wx3cwW2Ti7KfM58erjpA== X-Gm-Message-State: AOJu0Yz5U8/Q38wmxbVyv4g3Yk7qFa/llZQuq7mQyU8xMXVw28RTpwHi UmBN1oosvVhQqzKY6z8AGy2jgmhSoKKhsnBk5bjnbH1wxxekjSxr41FiU3s4jpo= X-Google-Smtp-Source: AGHT+IGBKoiS7ffna3KjUqa82zmNiDZh4gX9qfpTO1pytymFQ8KydevY5xCfcZoe8Xkpy4Obklbznw== X-Received: by 2002:a05:6512:281a:b0:513:2c5f:1078 with SMTP id cf26-20020a056512281a00b005132c5f1078mr1337677lfb.8.1709672875550; Tue, 05 Mar 2024 13:07:55 -0800 (PST) Received: from [172.30.204.154] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id g13-20020ac24d8d000000b0051316ccc5besm2300433lfe.269.2024.03.05.13.07.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Mar 2024 13:07:54 -0800 (PST) Message-ID: <5736796f-061b-46a0-b4eb-ab447fac4426@linaro.org> Date: Tue, 5 Mar 2024 22:07:52 +0100 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 3/3] arm64: dts: qcom: sa8775p-ride: Enable support for firmware managed resources Content-Language: en-US To: Sriram Dash , Krzysztof Kozlowski , andersson@kernel.org, vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, gregkh@linuxfoundation.org, quic_wcheng@quicinc.com, Thinh.Nguyen@synopsys.com, p.zabel@pengutronix.de, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, quic_psodagud@quicinc.com, quic_nkela@quicinc.com, manivannan.sadhasivam@linaro.org, ulf.hansson@linaro.org, sudeep.holla@arm.com, quic_shazhuss@quicinc.com, devicetree@vger.kernel.org References: <1709657858-8563-1-git-send-email-quic_sriramd@quicinc.com> <1709657858-8563-4-git-send-email-quic_sriramd@quicinc.com> <399555e8-d8fa-46b7-8b15-3d3a4a30809b@quicinc.com> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/5/24 19:25, Sriram Dash wrote: > On 3/5/2024 11:33 PM, Sriram Dash wrote: >> On 3/5/2024 10:38 PM, Krzysztof Kozlowski wrote: >>> On 05/03/2024 17:57, Sriram Dash wrote: >>>> Establish the channel and domain mapping for the power domains to connect >>>> with firmware, enabling the firmware to handle the assigned resources. >>>> Since these delegated resources will remain invisible to the operating >>>> system, ensure that any references to them are removed. >>>> >>>> Signed-off-by: Sriram Dash >>>> --- >>>>   arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 96 +++++++++++++++++++++++++------ >>>>   1 file changed, 77 insertions(+), 19 deletions(-) >>> >>> Do not mix DTS patches with submissions to netdev or USB. >>> >>> Please put it inside your internal guides, so you will not be repeating >>> this over and over. >>> >> >> Sure. Will take care. Thanks. >> >>>> >>>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts >>>> index 26ad05b..b6c9cac 100644 >>>> --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts >>>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts >>>> @@ -764,8 +764,18 @@ >>>>   }; >>>>   &usb_0 { >>>> -    pinctrl-names = "default"; >>>> -    pinctrl-0 = <&usb0_en_state>; >>>> +    /delete-property/ clocks; >>>> +    /delete-property/ clock-names; >>>> +    /delete-property/ assigned-clocks; >>>> +    /delete-property/ assigned-clock-rates; >>>> +    /delete-property/ required-opps; >>>> +    /delete-property/ resets; >>>> +    /delete-property/ interconnects; >>>> +    /delete-property/ interconnect-names; This is totally unacceptable.. And especially makes no sense given ride is likely the only sa8775 board in existence.. >>>> + >>>> +    power-domains = , ; >>> >>> This wasn't even tested. >>> >> >> This is tested with the specific power domains in place >> of . SCMI interface is used for the power domains. I'm sorry, but "break compilation successfully" is not a valid test result.. Konrad