Received: by 2002:a05:7413:20a6:b0:f7:18da:975a with SMTP id oo38csp256510rdb; Thu, 21 Dec 2023 00:11:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IG602ErD9fFsYdcbclCVHP479i5ahKO+p0VPJBmVm8bxBX+IaMK3pbb6ce76Tv0RK6rsd95 X-Received: by 2002:a17:907:9044:b0:a1f:5526:ead1 with SMTP id az4-20020a170907904400b00a1f5526ead1mr219725ejc.58.1703146270074; Thu, 21 Dec 2023 00:11:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703146270; cv=none; d=google.com; s=arc-20160816; b=LujvANb8I4c1oNssjf02i6gdXYPQSz9Ixa14Hk5OpgXv8hTIFaOY9X8hhYjaciatz9 eMr+4P5Hw6CdGq4qgt+VZ1WCTUfH/85GEbdJY6QrejU39mT+ktORzP+66LbMEULcyEHx phjL/dBcyiuHP6qRyyWXlEivgNEHEP+sGuI8SJ7d0xRmS2EV9k0KgR4gOyy818ckyVMo VwzEkdDkvpiZ2E8MIgzILBegLL6CO06hNzmlhv/7dmfhH+qpDlGb/kzA+oX8JbRqdbxu QBW/2Ji24LoF693u64upM/pDU72ZOdTseHE7ouH3QpngPtkqWU6bAciA3vLmepF8ykIO vd3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=xJQ0HXRIxO8h0lK22mFO3GttJHqvn1vwTveFbKO10TY=; fh=RdWrV4oESYGxLe1LnG3CtNIBU46Hmn7Vsfp3ZLnxfyM=; b=nrocsybAv8xGK0d8qFuu6xl5CPjzBKbn6rlhxHFDiTxRGlQKWpXMNTrUChw6I6X9nf amHGy8n3nqdoOf/H9ygygTr6ulLL+ilm98n2THvBkYcdt1ogdmc46hJ1wqJa6K3smD7W 7vsTy15DgHoAngcOXKO/nYXToioI9tf1s64PazBx369mFtTgYp6xpguAy0+03c0paIfG giTDypwS8BuU1BZjZ72wFHrdO2D8I9auP+1E+SQFEequClxCsCybTa0zSNk1xNHKRDBq LoLrwiPRqK9XxWiHjUUkky3N6QYY+xEOa9ExgE0r8eno5XV7i2sYhM4hv3KutXnd5ctB oFtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DTJoTr1P; spf=pass (google.com: domain of linux-kernel+bounces-7969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t7-20020a1709063e4700b00a1f78a5b5c1si605794eji.613.2023.12.21.00.11.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 00:11:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=DTJoTr1P; spf=pass (google.com: domain of linux-kernel+bounces-7969-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7969-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 9FE431F26CDA for ; Thu, 21 Dec 2023 08:01:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D809515AFC; Thu, 21 Dec 2023 08:01:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DTJoTr1P" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBDFC156CB; Thu, 21 Dec 2023 08:01:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BL7JsRx021287; Thu, 21 Dec 2023 08:01:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=xJQ0HXRIxO8h0lK22mFO3GttJHqvn1vwTveFbKO10TY=; b=DT JoTr1P9INICH8Y/KjtyNk+wLOr3FhXTaaFuFyLl9t2zrBpmzjbsMR4xMmPHvqleZ 7IADYybca4ZTb55QMcvO4d3+aXO1RKLy6fTRTNdCyuo51VDn37Z93ytH2Q29fifL FzEw3eihIJv6haCLSKFw0fZNWLkP/BJoVtdpKJ4IX8FP62BntJAb0a7QQIF/V4kK E/ywdPnjsT2cjmTxGYCBV6sUKRg0DR9NL5PdRJqFgThgbRK09IzSKqxSEngrbRut 6+cROi/crwYsB+rKZURKwh/LElEzSSyiKMSMfQWSaqtqeWsHczheWiY/VPCGTDoT VaC+apJoPIm4E/7K8tdA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v4gvh06um-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 08:01:04 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BL812nR017310 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 08:01:02 GMT Received: from [10.216.32.244] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 21 Dec 2023 00:00:49 -0800 Message-ID: <716cf526-59e3-e755-0a47-ff9ae496e87c@quicinc.com> Date: Thu, 21 Dec 2023 13:30:45 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH V2 1/3] dt-bindings: iio: adc: Add QCOM PMIC5 Gen3 ADC bindings To: Krzysztof Kozlowski , , , , , , , , , , , , , , , , , , , CC: , , , , , , , , , , , References: <20231116032530.753192-1-quic_jprakash@quicinc.com> <20231116032530.753192-2-quic_jprakash@quicinc.com> <832053f4-bd5d-4e58-81bb-1a8188e7f364@linaro.org> Content-Language: en-US From: Jishnu Prakash In-Reply-To: <832053f4-bd5d-4e58-81bb-1a8188e7f364@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: l9CnmtUYeu1gfa2inySLTHIKfZfK3gTZ X-Proofpoint-GUID: l9CnmtUYeu1gfa2inySLTHIKfZfK3gTZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 priorityscore=1501 clxscore=1011 adultscore=0 suspectscore=0 mlxlogscore=830 bulkscore=0 phishscore=0 malwarescore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312210058 Hi Krzysztof, On 11/16/2023 5:13 PM, Krzysztof Kozlowski wrote: > On 16/11/2023 04:25, Jishnu Prakash wrote: >> For the PMIC5-Gen3 type PMICs, ADC peripheral is present in HW for the >> following PMICs: PMK8550, PM8550, PM8550B and PM8550VX PMICs. >> > A nit, subject: drop second/last, redundant "bindings". The > "dt-bindings" prefix is already stating that these are bindings. > >> >> reg: >> - description: VADC base address in the SPMI PMIC register map >> - maxItems: 1 > NAK. > > I wrote it multiple times. You canno remove the widest constraints from > top-level property. > >> '#io-channel-cells': >> const: 1 >> >> interrupts: >> - maxItems: 1 > No, srsly. We went through it. Is it fine if I add the bindings for ADC5 Gen3 in a new file? It's not just for the reg and interrupts properties, I think it would make sense to have a new file as ADC5 Gen3 is a new device combining the functions of the existing QCOM VADC and ADC_TM devices. > > >> - description: >> + description: | >> End of conversion interrupt. >> + - For compatible property "qcom,spmi-adc5-gen3", interrupts are defined >> + for each SDAM being used. >> + >> + interrupt-names: >> + description: | > You must describe the names which also provides constraints. I'll update this in the next patchset. Thanks, Jishnu > > I am not going to review the rest of the file. > > Best regards, > Krzysztof >