Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp304897lqh; Fri, 31 May 2024 01:39:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhR+LMITKBbuDsZ5vYgwuyzfX3gPAKfvDmfdNG/IBgmkqihojUaUrZRtmm0QeSZU6MozY9HD6PFdBhRWtnvuerpr2OrCM926NEkKwIag== X-Google-Smtp-Source: AGHT+IGdqf6iIoFoITTw17WVBENl4/umd7F5ViNfm6MZkn71Pb+i5tW3D0rJcPm+4zeSJbomyklw X-Received: by 2002:a05:6512:3492:b0:529:b668:9f25 with SMTP id 2adb3069b0e04-52b895693b7mr663596e87.4.1717144764017; Fri, 31 May 2024 01:39:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717144763; cv=pass; d=google.com; s=arc-20160816; b=BKV7MBbxycb4Z0AE/Pwk03VntdFXhs5hvshYsqGcfBXZvSc/BCTF42cIVN8HSbjCSW rHutXmFgNytNbw6QW93AwdEtbk0emVRGFyN+m/+IdouDlFMZ9iuEQ3ZKzIoY0Lffj5pd g1o3TBOTrowDUijq/yy9aGv6b4b9WCqr/003A/mH0KPw8zxW3B6afpiW14kO5H3hiBxl W0OswuxzBXkSpr415rXBXTHZzwMoJ7zsI6K3wabnofO66jsIz17ftOeiEWvubpYCLB/K hhyL0ik4zL07xXFBqgsRVa4N3bVrrKgRybtWkW0VJ/msQVro/K8+xayS1zWIUO4gHWOI UEQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=lnrY2pbNU0k+0zlhxzJD+ASA3BY00naiFRrmZ3gNEAM=; fh=Z6AOavyyvvSfUqXUOPWRkR3XBK8YImarrItLmh/J3UY=; b=cTo4ZsoqGTDKuZ7r11cJEBHh+TDhi/IUJNZTyPWoVXpYMOL7xrRrkbQFLKH8C4EjBk mOaPfs6/CnE6HdcTT8XYQngdZzBxKJn05bw+YpFdkT6Q9o+H9RV+A4DBu8At6LjkJzp8 hpmtbFoOqX0AZWl/tKvCNekjWu3ZqImk4Gbk37yqzeC4srN7BynBVrpKZYTBsBs/e9Bs U1L6/3XL2s26GPoqzU9wpzicnNCTuy19AoSHjUqymFEKawcIUputnUofWYSZeorHKF/5 H2o8c3+2p81qFYavAwhyDUDBYM4mipH3TtFYXBMJn6xs54N/sm7G8qEHwuSySZiwgYdk duqg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zDCj0g5c; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-196490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31ca6236si714306a12.575.2024.05.31.01.39.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 01:39:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zDCj0g5c; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-196490-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 84BFA1F218AE for ; Fri, 31 May 2024 08:39:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48B7F150992; Fri, 31 May 2024 08:39:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zDCj0g5c" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 E410215098D for ; Fri, 31 May 2024 08:39:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717144744; cv=none; b=i3MGjuqdtuoFh86jL3La637atC+i1KE6NcYVsJ1HKzTiCYLuqiWTirZsRmP8d8qYhMaSN5/q/OEg+boSD4W6pcmv+VKSQb5h2vRmKDWCfXVQmu3XotLoPA0wzBmDw2wWuDH370Z3ZYrLm4JWSjxlYZPMbIBHA0FnrI8IqQCFm6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717144744; c=relaxed/simple; bh=ZFMmpYdHQGeJ/z9gZHfYAifXybdEhkawr1UnA1qVQ4Q=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=WRYS4kFDL6K7dcijoskcl9dHwvdBQFvT+E6TOL/bP0ri3IiMf4hYDeS5EAmLzNfPnw7RJRECRm7AWfpuRY4JhO7PgN+Jmo8mWwHq683JisTfg0xZx2FF4Axnr/QUEk8E8OJ/rrYJk4FG54s5unqMmqvvgHZozv+Rgu3Up4tBWSU= 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=zDCj0g5c; arc=none smtp.client-ip=209.85.214.176 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 Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1f4a5344ec7so13571805ad.1 for ; Fri, 31 May 2024 01:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717144741; x=1717749541; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=lnrY2pbNU0k+0zlhxzJD+ASA3BY00naiFRrmZ3gNEAM=; b=zDCj0g5cPLeHHMm1K8ZNjnITlyqFja02cUVLPpIXwURvAehG+ss/gAgVfSB8fbQL9d +muHz6OwOVjM641HWh/FLmrwxT+2aLF9nofx35ZNrLrDHa4yYYFJ82KtjCBO/3SNU0FY phJICaw2bflPEPhzoYH/n6V3MatQi4l1wzNULnMRcJBiweuzILycH+ueUmdfhEtwHe0I 3OdwatEItB09rAHP5r/sBaRIz9YG+zBZWW/ajn4UqGgRinVu0Byp0FS8kgpu6GHfsqFi yABXg669NWVP0rE3+KjVPcMVgq176gVqkjbSAfYKFffh7vxui861nI9roPnNv1o9WvkX TESA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717144741; x=1717749541; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lnrY2pbNU0k+0zlhxzJD+ASA3BY00naiFRrmZ3gNEAM=; b=XYdy5RbAvbYpMO3PvQu3BMCcYIq16m5yqVIrdlpRd2HNTzcVI7mibOTGzTx14u5phj 2fovfKDQPR6orlxYGynA0YVzBYjYtT9RQOI3uW+wwnbJDTDdw5O75pRDPfmzUHBrdN+C s4dWNDY7dR73HTkCxOCQwk9XbIFpua6VhM6iZsjTQyBPIXFTXSeCqQBiTLhn2xNWoAOk iooChEkNWVj17uywxpeCzyIDudjkg1xrZEBp4VXnJoSlRE92hfoRzmyfC1+bLdAJtLCi jX5jbZZ6cCI4ymmOO3uBV9d2V0yzpPvamEXPd/bjLmSubOKScVsWE1zn+NBJyfmDvG1l ExRg== X-Forwarded-Encrypted: i=1; AJvYcCW2263xghDX/F6XsTo503YNr9xx4xJtU76tycG5n8D5rreOkPt6Jw/hC/VahMpXMAymCUDK2/v0lZk08KommZ1ibmEf6RPOR+V5KpSs X-Gm-Message-State: AOJu0Yz9b3417ejUkhZKK1WukxQis6VO3sAD6I2bka214+q8VpN3RtIG NW+y7WSKCmkKnZmZb4Cav5d+SslPQ7QU3RkIF/Wj3ElIkJeHFyUzdZSfReBMh17udWlnhyKgghM 8R1JGqJ6hnUyAipEq1bNZJg0CqK2BL0vWERsFOg== X-Received: by 2002:a17:902:ec92:b0:1f3:62c:247f with SMTP id d9443c01a7336-1f61be15ccemr63399965ad.11.1717144741002; Fri, 31 May 2024 01:39:01 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240529100926.3166325-1-quic_tengfan@quicinc.com> <20240529100926.3166325-5-quic_tengfan@quicinc.com> <205de8b7-507f-45c9-83ce-6eceb1466cb2@quicinc.com> In-Reply-To: <205de8b7-507f-45c9-83ce-6eceb1466cb2@quicinc.com> From: Dmitry Baryshkov Date: Fri, 31 May 2024 11:38:48 +0300 Message-ID: Subject: Re: [PATCH v9 4/4] arm64: dts: qcom: aim300: add AIM300 AIoT To: Tengfei Fan Cc: andersson@kernel.org, konrad.dybcio@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@quicinc.com, Qiang Yu , Ziyue Zhang , quic_chenlei@quicinc.com Content-Type: text/plain; charset="UTF-8" On Fri, 31 May 2024 at 11:35, Tengfei Fan wrote: > > > > On 5/29/2024 11:18 PM, Dmitry Baryshkov wrote: > > On Wed, May 29, 2024 at 06:09:26PM +0800, Tengfei Fan wrote: > >> Add AIM300 AIoT Carrier board DTS support, including usb, UART, PCIe, > >> I2C functions support. > >> Here is a diagram of AIM300 AIoT Carrie Board and SoM > >> +--------------------------------------------------+ > >> | AIM300 AIOT Carrier Board | > >> | | > >> | +-----------------+ | > >> |power----->| Fixed regulator |---------+ | > >> | +-----------------+ | | > >> | | | > >> | v VPH_PWR | > >> | +----------------------------------------------+ | > >> | | AIM300 SOM | | | > >> | | |VPH_PWR | | > >> | | v | | > >> | | +-------+ +--------+ +------+ | | > >> | | | UFS | | QCS8550| |PMIC | | | > >> | | +-------+ +--------+ +------+ | | > >> | | | | > >> | +----------------------------------------------+ | > >> | | > >> | +----+ +------+ | > >> | |USB | | UART | | > >> | +----+ +------+ | > >> +--------------------------------------------------+ > >> > >> Co-developed-by: Qiang Yu > >> Signed-off-by: Qiang Yu > >> Co-developed-by: Ziyue Zhang > >> Signed-off-by: Ziyue Zhang > >> Signed-off-by: Tengfei Fan > >> --- > >> arch/arm64/boot/dts/qcom/Makefile | 1 + > >> .../boot/dts/qcom/qcs8550-aim300-aiot.dts | 322 ++++++++++++++++++ > >> 2 files changed, 323 insertions(+) > >> create mode 100644 arch/arm64/boot/dts/qcom/qcs8550-aim300-aiot.dts > > > > [trimmed] > > > >> +&remoteproc_adsp { > >> + firmware-name = "qcom/qcs8550/adsp.mbn", > >> + "qcom/qcs8550/adsp_dtbs.elf"; > > > > Please excuse me, I think I missed those on the previous run. > > > > adsp_dtb.mbn > > Currently, waht we have released is adsp_dtbs.elf. If we modify it to > adsp_dtb.mbn, it may cause the ADSP functionality can not boot normally. Released where? linux-firmware doesn't have such a file. And the modem partition most likely has a different path for it anyway. > > > > >> + status = "okay"; > >> +}; > >> + > >> +&remoteproc_cdsp { > >> + firmware-name = "qcom/qcs8550/cdsp.mbn", > >> + "qcom/qcs8550/cdsp_dtbs.elf"; > > > > cdsp_dtb.mbn > > CDSP also as above ADSP. > > > > >> + > >> + te_active: te-active-state { > >> + pins = "gpio86"; > >> + function = "mdp_vsync"; > >> + drive-strength = <2>; > >> + bias-pull-down; > >> + }; > >> + > >> + te_suspend: te-suspend-state { > >> + pins = "gpio86"; > >> + function = "mdp_vsync"; > >> + drive-strength = <2>; > >> + bias-pull-down; > >> + }; > > > > What is the difference between these two? > > TE pin needs to be pulled down for both active and suspend states. There > is no difference. So why do you need two different states for it? -- With best wishes Dmitry