Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp3970464rwn; Sun, 11 Sep 2022 02:13:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ny3rQXADXt1bA5uY71qz/ZqPbPpqTFAPJ7FLeIdF6y0c0jD364ZJgIFcKBZRxM1/AgaqN X-Received: by 2002:a17:907:a068:b0:773:e2bd:554d with SMTP id ia8-20020a170907a06800b00773e2bd554dmr11480343ejc.743.1662887580359; Sun, 11 Sep 2022 02:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662887580; cv=none; d=google.com; s=arc-20160816; b=OLHf8m7RAAP7vD4mONW38+ItxwjmaYfF0JWZ5/VbtucWlyniq19lCIP9LIoDbhGo8R X5tWUptw675hnAgJh2FVe2CKt5Zajkx8T4zb6klVcI1SQRt3lGC9Qt6RcikY3U5BbmN+ +Rdba//Nrs0D8j/rRY9joqw9Aafj+AN6WzNkK8dF0Fo59cmweEInh6ckDVtE9jkq9G5N Z7wMZGLP2IZvD9IjlsgHdI2wQyqj5vLvSn3yT+NgYIT1JC2N8BM9n1CoWn0clrvj1vJU IlGuX3fyfsByOeBPPfiEPmXgUTWV3z2mA2YFsaPrs8bN/hyml4sbbO8YFw7Vab2QPtYk et0w== 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=51+6g2H4IMDHj+sU7xTxYoeo5wF1+JRvy8PW2Gghvnk=; b=d4rIdwpk/adxv3mQ0BNVFzMIzraoYBAJRoOm6jizPXwlcDm2m7r91Ha+89voeB7+A3 CxZlDMlwtvU2TbEyh8nT+I4T6q5a2wp7idnRP2kwb6noKSDdVIZcci2Zz7pkG/XhYPDi I9YsETmLAxLQo61uHmewoAVMFj1YctD/cyPQkODjs0M0pi3OyWRq4wZFSKg612qm+zDh hOllRMydvTEG7BYunX3rWEdOlWsvyBuLyy3DZzkAqjmVrzMY/XUAgWQGYNp+I79yrS/y 4HYCfFbmvAvZQAFjTriI3OOsJi9PtRvX/7YcXVCt7zTmmNvrY4c8na7RTwkJXs+Y3HaJ T+fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Zo0vEjkQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m8-20020a056402430800b0045180252908si1892703edc.515.2022.09.11.02.12.34; Sun, 11 Sep 2022 02:13:00 -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=@gmail.com header.s=20210112 header.b=Zo0vEjkQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbiIKJJB (ORCPT + 99 others); Sun, 11 Sep 2022 05:09:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbiIKJI7 (ORCPT ); Sun, 11 Sep 2022 05:08:59 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BDBA3A16F; Sun, 11 Sep 2022 02:08:58 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id e16so10670254wrx.7; Sun, 11 Sep 2022 02:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=51+6g2H4IMDHj+sU7xTxYoeo5wF1+JRvy8PW2Gghvnk=; b=Zo0vEjkQi7WyD3p916qXn2EtpJG/Me/29Jan97sf8p1ia94iW7c4XgektQR48fcLlI 3VsfvlwnO8IvIpaBEfWh2lum50fngrlUvQvpuS0tldKFF2aOC41PMhARWVm+xPFO2SZ/ 02N7HkhZ/BLERjnPKPyp2Fd7Jc5G1e4YrmCGOsXUqvNafY+SCpAQjczApbNFXqGwMt5T zzjUrZdT7LsDCUJzrU+DWn8CBRwGt3eIq1eHqNTdicW9iC3l0IJlOIrI8CPQvpBdWwTa A8gizFgZOR73FrDX6YhFkirfgB+UNbAz08ukw7VWQcA191IM6kZ4u1Hn642Qy0WNiOho JyjA== 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=51+6g2H4IMDHj+sU7xTxYoeo5wF1+JRvy8PW2Gghvnk=; b=Ph3+v7AhW6NCDL718H+jKD8c5KMaSyDbshCNi+nIqWGY26Q6df/5hjRBbwMNfHhqA2 cLX2FiOHlcoBjEGSgSzGBlICavKC2xl+27+sLPew0jbLDq2u/JeVc3wQdR4BRY4Yd5E6 7V5ABQHvE+g4P2rZkR4wszk0szoib8VSDwdf4Q/xhylz076EXOlVzjA7Zn7gHry5eo5Y ClNDWn3F/6WYUgnXwvCUNEesGskxHajSTGrvF+qZA2Ytc6rHxKrhEyExhEqSG8es1TqD rv9IKhIBToduFGm1ox5Aby+9GD3ICAle312sPRIEZw3GnNaAwTituLfTWsNLu122E/YO sxPw== X-Gm-Message-State: ACgBeo2n2bRpxXpxoHeN1K6lI9GFc0WCLQmrT6HJWs4NafUN77Gz0kny PQWbDfUpqCfZeztxk31k6npn+5P5kNvouA== X-Received: by 2002:a5d:48d1:0:b0:225:3ee8:e5b8 with SMTP id p17-20020a5d48d1000000b002253ee8e5b8mr11475929wrs.105.1662887336922; Sun, 11 Sep 2022 02:08:56 -0700 (PDT) Received: from [192.168.74.101] ([77.78.20.135]) by smtp.gmail.com with ESMTPSA id z11-20020a7bc7cb000000b003b3401f1e24sm5863263wmk.28.2022.09.11.02.08.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 11 Sep 2022 02:08:56 -0700 (PDT) Message-ID: Date: Sun, 11 Sep 2022 12:09:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v3 7/9] arm64: dts: qcom: sm6115: Add basic soc dtsi Content-Language: en-US To: Krzysztof Kozlowski , 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: Iskren Chernev 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,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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). 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. > Best regards, > Krzysztof