Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1273680rdg; Fri, 11 Aug 2023 16:15:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHkZ0dLO2k8Gbhv0/SxzOZYqk+1zlm0vAVDRpv7zfokIlrEEiByg0KwMgLZeaGBxmusL5Yb X-Received: by 2002:a17:906:51d1:b0:993:d53b:9805 with SMTP id v17-20020a17090651d100b00993d53b9805mr2737790ejk.11.1691795747364; Fri, 11 Aug 2023 16:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691795747; cv=none; d=google.com; s=arc-20160816; b=tWSbImkCDC6QBbaQuLOOTQ/6zGTHsrYBGewQ9InZmP42WcAaqrKRNkQoQM1TBqGiNf HmJvEpjHYDTboHTzFUt0KnY4XBkXT7rBsg4thmHpb3br9H5WEJnSvxfFqSlRZItPEeQU bJqB3PyMN4bWWbo0zw3fWqLO6+sEG82dhL+FZbbNNmdZ4ULfAStf5H839UfyM9qA/x4v WZh1RYODbAJAUbapvQXttV8tPw190FnnLW3ev0S2949T+1KK/nRAe/mF1zb/sx6J1zjh lsjnhpPSubiXxXLqm4/Mwil3FUB20RkINANeSoC0sXYp2Rel0EnbkUfbjrBU1ppWOxOg t+hg== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=sT1uR+cf7e1evx8m1N53/kqWjqSw5gEDum8c1pesGBE=; fh=adM/iHeIiuMfhZ9My3wBB6L7MJ5HET6faNes3R77GTs=; b=aWLFTs6owrCRQjEZ/k1XGX+4qA94gVV/jsGhD6grNEPOC35os/0cr/NNLE4r5SKApa UymiTNRK6Iu/ekpjMrlXFGvnhO5VJqIkDSdGFaHVefogHc3a2ZVhyx8aCkw5lj2F8frr RWkmKn2VWz8OQRHiT7AaJNs8GrGHGDYzfdieNyjxq2Y6+4u1W+85EIotUjPgQRNxjONq rJNeE0FnApUEdtfnzuD7BpJEb4pbj9KtdglReUN/roOB+Th2S1xTRUSlTD+h/bEC65VJ kkJ2pKWRIfn62OEYMUKklje4KlD2jrvCcJQls1haZ04ziZaeyqa/yzWhW7efxu5/t84B UBQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G+9TuSqP; 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 r19-20020a1709062cd300b0099cd008c1a7si3978712ejr.327.2023.08.11.16.15.23; Fri, 11 Aug 2023 16:15:47 -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=G+9TuSqP; 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 S237174AbjHKXGC (ORCPT + 99 others); Fri, 11 Aug 2023 19:06:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236924AbjHKXEM (ORCPT ); Fri, 11 Aug 2023 19:04:12 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C87DA44A8 for ; Fri, 11 Aug 2023 16:02:21 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fe61ae020bso3862290e87.2 for ; Fri, 11 Aug 2023 16:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691794940; x=1692399740; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=sT1uR+cf7e1evx8m1N53/kqWjqSw5gEDum8c1pesGBE=; b=G+9TuSqPsKMfTgDJ6Oy763ox7t2rbvrj0Xj4oypFCf75GKespz953IqRpOh3Rxp9FE 9VY+JO1iWTV2udUjr0g9lp/BUb+SB0FnPa4Il5jnYjjx7yY2EHii9k4tNRljsesIXKH5 VeXNHQpXEeVBdwj8V9HNbUQvF3msVjFRFdTsv3fPRlFpH3xXqSOlMLc6S+IGsIHl40fx PiFksdsRtcQtrRG0lZ5itFXQWLjs13iVuZlBq0xnBNwJvQz4Mp94J4n5xvz28/1g0xdt gaqQhYUC39XLT7rEmtK5C/+aeA6AM+P4FuTG4K2xkTksXr5mOR5AvSeUjSbj0XDTOvuT Afrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691794940; x=1692399740; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :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=sT1uR+cf7e1evx8m1N53/kqWjqSw5gEDum8c1pesGBE=; b=YCf4bItfR8Izw+S6RxQ7HAHVxMXax2mRRtixEuTQ/pjmEzKn/mZfgTkSkMXfhT6PK8 XpKTSJ0FvEoHTnHohxgUvfylFDOslVWJSOmR4JdjdydKafeMcCSXYnofVgovHUuIkTDv chIEtFxZnHvBSInNKJhqja2APvwlqKbub7lxIqRHKzuhOMuWiiVGersFzJX07hqbWUz0 tfTa6989g3eJaShnE3j0lRo23hro+cokaLjxKLqT2Oty/kwQNQWarto2UMYAn1vcIOQI 1tuq8ddyKb+lrptjftY1kjU49ukZ3+hC08mLiP4vi03mou9rBuXOHzbn99WaRbvRQeFd NDtA== X-Gm-Message-State: AOJu0Yz974mts025T4uodtRMHPOAWVYKap6DB5sJOx/2xSiSWwLAilqG 6otAMMdwyXLVi5dSw8uGb2NHqA== X-Received: by 2002:a05:6512:ea9:b0:4fb:cc99:4e90 with SMTP id bi41-20020a0565120ea900b004fbcc994e90mr3270700lfb.37.1691794939907; Fri, 11 Aug 2023 16:02:19 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id c26-20020a19761a000000b004fe3512e26dsm884105lff.291.2023.08.11.16.02.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Aug 2023 16:02:19 -0700 (PDT) Message-ID: <5077fd56-c1af-4b1b-be4c-8a7396824e94@linaro.org> Date: Sat, 12 Aug 2023 01:02:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/7] ARM: dts: qcom: add common device tree for MSM8x26-based Lumia phones Content-Language: en-US To: Rayyan Ansari , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Dominik Kobinski , Ivaylo Ivanov , Jack Matthews , Andy Gross , Bjorn Andersson , Conor Dooley , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Rob Herring References: <20230811213728.23726-1-rayyan@ansari.sh> <20230811213728.23726-3-rayyan@ansari.sh> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+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7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20230811213728.23726-3-rayyan@ansari.sh> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 11.08.2023 23:35, Rayyan Ansari wrote: > Add a common device tree for Lumias based on the Qualcomm MSM8x26 > family of chipsets. > > Currently supports: > - Framebuffer > - Touchscreen > - Keys > - Regulators > - MMC > - USB > - UART > > Co-authored-by: Dominik Kobinski > Co-authored-by: Ivaylo Ivanov > Co-authored-by: Jack Matthews > Signed-off-by: Dominik Kobinski > Signed-off-by: Ivaylo Ivanov > Signed-off-by: Jack Matthews > Signed-off-by: Rayyan Ansari > --- Would be really nice if you could squash it with patch 3 so that this code is immediately compilable. [...] > + gpio_keys: gpio-keys { > + compatible = "gpio-keys"; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&gpio_keys_active>; property-n property-names [...] > + reserved-memory { > + ranges; That's already there in soc dtsi > + > + smem_region: smem@fa00000 { Swap the subnodes to keep the nodes ordered by unit address > + reg = <0xfa00000 0x100000>; > + no-map; > + }; > + > + display_reserved: framebuffer@3200000 { > + reg = <0x3200000 0x800000>; > + no-map; > + }; > + }; > +}; > + > +&blsp1_i2c5 { > + status = "okay"; > + > + touchscreen@4b { > + compatible = "syna,rmi4-i2c"; > + reg = <0x4b>; > + > + interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; > + vdd-supply = <&pm8226_l15>; > + vio-supply = <&pm8226_l6>; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&touchscreen_on>; ditto > + > + #address-cells = <1>; > + #size-cells = <0>; > + > + rmi4-f01@1 { > + reg = <0x01>; > + syna,nosleep-mode = <1>; > + }; > + > + rmi4-f11@11 { > + reg = <0x11>; > + syna,sensor-type = <1>; > + }; > + }; > +}; [...] > + > +&tlmm { > + gpio_keys_active: gpio-keys-active { Run `make CHECK_DTBS=1 qcom/msm8226-something-lumia` and fix the warnings before Krzysztof gets angry :D Konrad