Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4015188rwn; Sun, 11 Sep 2022 03:22:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5XwXddcz30A1rMx3QgTOMGzZovRjMDMMIQCCqWRrdRL9srJgr0CHA24yHXl2DxPwkUkNAz X-Received: by 2002:a17:90a:1b65:b0:1f7:4725:aa6e with SMTP id q92-20020a17090a1b6500b001f74725aa6emr18161280pjq.179.1662891736479; Sun, 11 Sep 2022 03:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662891736; cv=none; d=google.com; s=arc-20160816; b=adq674jjPReiPB1f/Zf/k7/ww76SUn41/wdQ1+5qNGd98nINf4lD3qJIGfw7lKP3eg 7GGrh6sllBXTa3VXGiPnbMBgCUeRe3wzNkkKr5gkcHebyUhUTagPpdRzpYVJNqAkp2k4 VxN4YhKXSOgdeELjm8hPuZRl6eMD+scee6w4ys7HkZ8pxqa9U5LMDrDyxJJBCbWdk/J2 K8zEgFMFWu7oOGPDeUV5y9L06uhkETgTjnZYruvu5xjyfDsBrK1VLK065aUDbvjtBjL8 wGSh60wBgOl5UQZnNNrmbAxYxT83g/h0TP0+4W/E1xIdebgDENwYOY06zziMPJQ+SWOf dzRA== 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=eX+5//Qd0qiSGwhAdD53iMPOZ01D21SlUbjRrzVLFVc=; b=ARyvdxfOdDYDNAMw+t/LVleMtLB6fVUUb0ZXBHm+wshO64ugkOvA8kBufIXy3/b+wP O5WhBEly8oDEMf7kBlfCWMK2Ls4+KzW3PzoEC0oHvJg/d9XvleMgzO5mZhiFA0sa1A0H gDqwwVedHNew2wVVQsVmmnq8egR5d2JBrzVt1cLniqKxF/7NouJJcpky44MJvq87odk4 B/eALX2fQoHoAhNizE6Uaaj2hvd2voBchBImiKRFxLmbI6zsdXaAM47jt+bM//sfBXA1 N9a1DA0V6VzHAmKh8EDzmqcj4hznr5r8NdYuk0eEiB2/lLobAkFpKopLGzpS0PoT1i+Z zqfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h0koii7f; 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 mn20-20020a17090b189400b001fe2ab750b6si6481637pjb.146.2022.09.11.03.22.04; Sun, 11 Sep 2022 03:22:16 -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=h0koii7f; 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 S230072AbiIKKH5 (ORCPT + 99 others); Sun, 11 Sep 2022 06:07:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230043AbiIKKHz (ORCPT ); Sun, 11 Sep 2022 06:07:55 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7012E2B631 for ; Sun, 11 Sep 2022 03:07:52 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id w8so10201280lft.12 for ; Sun, 11 Sep 2022 03:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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; bh=eX+5//Qd0qiSGwhAdD53iMPOZ01D21SlUbjRrzVLFVc=; b=h0koii7fb1oT1Vgdrhf0gQ9jd9ilSYjBDM8UqO5+Cm+C0BHn1/1fmWk/ljpw6QiPVY Gkvm8OhkNcO/nz20CcNvR0eELLUZaWUJYeuNQycAIBTC4NPVRlebf40qNQqcT8Q+YaM+ uEKWgHoX8XPzmTSdLEO7h+l53zjL1pJcEndP2KWHiifv7XLZtasW1bSVxEuEPMb1dZtn 1kuYB//4c7MYGIZ29UbP6RnWRBdaZ+IRlO2gBqz6Ho3vG21dTzvGRg1EepZwDLmcztpk bFsy76jngPxmmFiY8mhQnISFcNmQTXJkWxIVmQR7zlOO5bEVMwF5xzrvN8NhwI75ngeO p3kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=eX+5//Qd0qiSGwhAdD53iMPOZ01D21SlUbjRrzVLFVc=; b=E1HKwsZfpbWJiakHlwxXletzqaIzQDqUlBllY9vZMAM4nELYk5YMAONu/vfY2dj5pR 0vlf/PcvDra82j8XpEuoyojwAWgbb6EiuOAklC5FS8pBhlnF1W6RqtwfhaKYaao+Q0DI WbDtGGGBYwQY1I0hE+QXF25z3hg6N3CroLcGywvap/qVENJzm8/EgFz8TXnqY5xFbj/u iuk8mGTChonDB2yD3NOtDIzGonTE/XdaBVzZxteNBoUSh0OfLDfvQtPFYJYe/D7/zzUO I6WxOKa0ENrqgtJlgOlbAh6ZYX865Qr+Gm33Ngqs0sQWn0rcbFNyHDTchl0/Gw8M3keg BO1w== X-Gm-Message-State: ACgBeo0yEPULBDASsKT4KzaB7qNqsdftlTGeTRKyx/pRycoyJCrVycGL 5YhkqaUE4Xxv0Jg19NMIzG1nQA== X-Received: by 2002:a05:6512:a87:b0:498:fbeb:daea with SMTP id m7-20020a0565120a8700b00498fbebdaeamr3993625lfu.632.1662890870806; Sun, 11 Sep 2022 03:07:50 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id s12-20020a056512214c00b0049480c8e7bcsm558548lfr.176.2022.09.11.03.07.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Sep 2022 03:07:50 -0700 (PDT) Message-ID: <7e5eb29f-913a-7540-c618-fb6c5a493d5d@linaro.org> Date: Sun, 11 Sep 2022 12:07:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v3 7/9] arm64: dts: qcom: sm6115: Add basic soc dtsi Content-Language: en-US To: Iskren Chernev , Bjorn Andersson , Rob Herring Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org References: <20220910143213.477261-1-iskren.chernev@gmail.com> <20220910143213.477261-8-iskren.chernev@gmail.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.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=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/09/2022 11:09, Iskren Chernev wrote: > > > On 9/11/22 11:40, Krzysztof Kozlowski wrote: >> On 10/09/2022 16:32, Iskren Chernev wrote: >>> Add support for Qualcomm SM6115 SoC. This includes: >>> - GCC >>> - Pinctrl >>> - RPM (CC+PD) >>> - USB >>> - MMC >>> - UFS >>> >>> Signed-off-by: Iskren Chernev >>> --- >>> pending issues with dtschema: >>> - for some reason, using pinctrl phandles (in mmc) breaks the pinctrl >>> schema (4 times) >>> .output/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dtb: pinctrl@500000: sdc1-on-state: 'oneOf' conditional failed, one must be fixed: >>> 'pins' is a required property >>> 'clk', 'cmd', 'data', 'rclk' do not match any of the regexes: 'pinctrl-[0-9]+' >>> [[26]] is not of type 'object' >>> From schema: /home/iskren/src/pmos/linux-postmarketos/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-pinctrl.yaml >> >> It's the same as 06367559766b7c9bd96d2baef8bfc5a9bb451e25. I propose to >> fix it the same way. I can do a biger change for all pinctrls, so here >> you would need to add "-pins" prefix to entries (see patch >> 4fcdaf4b0320f93d0ccb4d36b795ed258fb07b27). > > OK, that makes sense. One thing that is a bit odd -- the current pattern > "(pinconf|-pins)$" matches anything that ends in pinconf OR -pins (so it could > be sth-pinconf). Yeah, I am fixing it to ^(pinconf|.*-pins)$ > Also, if you only have a single block, isn't the idea to just > list it in the -states node. I mean we either force everybody to nest with > a pinconf, or we allow -pins for nested stuff and directly in -state for the > non-nested. Just my 2c. I didn't get this one... We allow exactly this, don't we (in PMIC GPIOs)? Best regards, Krzysztof