Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3218686lqp; Tue, 26 Mar 2024 03:11:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWU1fsg15x5ARRS32XqfBeXPDAL/DZlzECdZL77NZCh/rKdEhH/ea4BTH8reS+e4fZ7uN31/pSrGgp1sHCQIHKF1VnnVKE3kLLYDcOJng== X-Google-Smtp-Source: AGHT+IGkebsViuKqvy7Lb2MA91WGYtMjGG09drAiOiDO1bR6fBoGgNAEaz5dSuKVk7Awn8+BYCWy X-Received: by 2002:a17:906:a197:b0:a47:3409:2948 with SMTP id s23-20020a170906a19700b00a4734092948mr6724228ejy.38.1711447871682; Tue, 26 Mar 2024 03:11:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711447871; cv=pass; d=google.com; s=arc-20160816; b=V1+0tuBBdEbeycBS2vocO5tn773a1a9AYJ0ElxsPkGg8D6vljytuTE3d/RZBd3fBfT zPV+BCEpbMHsgv8OjAhmEgZd2S8FlOaA6/gGO/1JwaJMAIOXNbv3lu9xa3ygUJozFtXc W7v6cSIoscSVluD4P9NkAXXLVe56caGqIDLtXGdoGWLfkIieNbsjnV9ymgumsQZzfwH3 hLJeJgQogijwQujGmOL5VjrfNeiCtBtSIAgfoE/ggDK1NBnXckXo0dC9bkm995ZmJN/p vAabe2r/A1+3ukAsNbfr0IXIYBdFwwaDezvGxZRAcRIo4cBE92PN91OJ3iBBVrkybcCb xu2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=JQnaSyYwl5rD6XVmt2ooNtpLwR2x205PFtPTu6yX330=; fh=cqqU8IwVxS9xET/5vcEb/jUNmt/+qDxw730gsoqlpBA=; b=yw5Q2I4b4ZgSTpJfJ4P41BUHtGLe+Ls5vIAyWs++WHK+3KS01bek6DGI16C8dd499P D86KdT6lFTtX2vf84NNNrJq5lpim2JRf8OGtAkH14+EmVwJRG3WhV0s7d2s0nojGpBqn J6/KuWvwnYo859Gki/lz/ZItKPvgjeZF31G4ebw0ukzQtDVuCCQmd4P3QdQBjbFk7nTG 8rWJfBfQTaCHpDZma9dK0aQU8lx6r4ZWX8ySv+Wx4U1qvkQqi+nqgrMpaCShKqJyxGfp xxWQIhppslqRSPT66+WnJakKIQRXKLeQNMDbqd5a53vgKC15MFuAgR+ADq0JoFXH8uZH r7xQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Spkhi5zQ; 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-118759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118759-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. [147.75.80.249]) by mx.google.com with ESMTPS id qf16-20020a1709077f1000b00a46adcbf6d2si3554046ejc.438.2024.03.26.03.11.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 03:11:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118759-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=@linaro.org header.s=google header.b=Spkhi5zQ; 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-118759-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118759-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 2B0011F6340D for ; Tue, 26 Mar 2024 10:11:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97E245B1FB; Tue, 26 Mar 2024 10:10:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Spkhi5zQ" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 3B43553809 for ; Tue, 26 Mar 2024 10:10:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711447821; cv=none; b=Vrr5VeSmnp4oqf0/jW9SHZ9aWu2oS0FkKjC7iDe1cAxtndCYGLOhbRjEEdAk4cE7UdC+As5eaLx3IMRRrQXcxvwHrpXFdFe2pe3yxRs1L3lcCxRHHFVYfPzPpcTpor+x1ISWyPbN3IiW9BU1sEw1cvJP3FU39NgsIIrPJVJDc2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711447821; c=relaxed/simple; bh=Y305OI8+v/GYz4bHx//3LsQDwUJMII2U2I5ZCcX149E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PNJtu0JaJIJWpC8WmhUyExQq6YQYig/6XsbsbAvANhhpA2nrCgU9C6gxZ4q5A0qUSD7eIzvZYlYUS4qCmy/oU541WAua0q+CPDiE0+2vmcqCuRWNEm/HiBnMAQM1egEBALP1XMN9uj6FGLyhkjpWnSee0w2YwfJozudSgx4Bikg= 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=Spkhi5zQ; arc=none smtp.client-ip=209.85.208.41 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-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-56bf6418434so3610682a12.0 for ; Tue, 26 Mar 2024 03:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711447816; x=1712052616; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=JQnaSyYwl5rD6XVmt2ooNtpLwR2x205PFtPTu6yX330=; b=Spkhi5zQ/5UA4GZa0538/8J0uRT+AB76DOIR4ePSrWpD9OWqIaAW0zbeaOU2MnXe/y hOFU14P99vAB2t3RIQj4SXwvsJ5G2LmJZHaoHNB/lA9kLUl4GE3BzYMuOAENFS6ejQ9y OQcQN557Gnh0eHW2lZmx44DI0fjJabuxZtosnbUjAH3zpyzUzT6R52aTN00LCM4TNhqo +9PgY2gIZhSZ0m6H2Sscpp1mtXFectUzsh/tKIn2zmOj1deD2w11Q7XHVXfOkjgttMyG mM0fTMWPe9/81ZXlk84kPSVyJfzcwzA/qaHKKuSLMbjhuQct1lPKvsCxUDLyzGNxtir7 WNMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711447816; x=1712052616; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JQnaSyYwl5rD6XVmt2ooNtpLwR2x205PFtPTu6yX330=; b=P923UGS6AYKl8+JdZ+hJT1KDgcEgZEc7+FcxsEiQzt8mtnhHlyauNG28Kpn9bSmTfq 9KXkFF66PF4NbBSKqaFtntmRndUV66ncsfyRMhEmCRSR/8n+1CXTGVIPALnUJN4t+Wnw +AWQjd2PoDzN6UnNJvEk+lVkRvjULAMRc3zSs2kxHm33h1mMdGukIlJxrzRLFOsIJiBj RhMAj2Aj8UwfZNahRH/P+LHI8RHt9MjMsUysLE+2sNHfWfZ7bufzYfYWwwxv5/k3yNpq UYHSEmxy89cfDdTEvcUnxiUN2Z+Go3DruCvTsetON4xWrulDsAcoUX4UI5jIG7WJ0/IG E68w== X-Forwarded-Encrypted: i=1; AJvYcCXo1UQmYk0X+Lug6Spq5/o5lP0OJoR98cZCIw5WtEq8rUKZZCgsuVxyTjwZkLRQWYaVAkklUsc9BdKk5SHTSWHv1TTRMgDqQiBRT0WA X-Gm-Message-State: AOJu0Yx5GowpJ9rDRV6/Wwr1+JCPGeb/qLleJuGphpybYY3nzgyPWmes GEt9rosI8E8wtnHBQRuuTZfsnWyO58VxX1dT4y6BdEnG/NTS4/XBPXFunEfDYBk= X-Received: by 2002:a50:874a:0:b0:56b:defb:3b59 with SMTP id 10-20020a50874a000000b0056bdefb3b59mr6554522edv.19.1711447816609; Tue, 26 Mar 2024 03:10:16 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id ek27-20020a056402371b00b0056c2d0052c0sm293096edb.60.2024.03.26.03.10.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Mar 2024 03:10:16 -0700 (PDT) Message-ID: Date: Tue, 26 Mar 2024 11:10:14 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] ARM: dts: qcom: Add support for Motorola Moto G (2013) To: Stanislav Jakubek Cc: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, phone-devel@vger.kernel.org, linux-kernel@vger.kernel.org References: Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y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jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25.03.2024 9:25 PM, Stanislav Jakubek wrote: > On Mon, Mar 25, 2024 at 08:28:27PM +0100, Konrad Dybcio wrote: >> On 24.03.2024 3:04 PM, Stanislav Jakubek wrote: >>> Add a device tree for the Motorola Moto G (2013) smartphone based >>> on the Qualcomm MSM8226 SoC. >>> >>> Initially supported features: >>> - Buttons (Volume Down/Up, Power) >>> - eMMC >>> - Hall Effect Sensor >>> - SimpleFB display >>> - TMP108 temperature sensor >>> - Vibrator >>> >>> Signed-off-by: Stanislav Jakubek >>> --- >> >> [...] >> >>> + hob-ram@f500000 { >>> + reg = <0x0f500000 0x40000>, >>> + <0x0f540000 0x2000>; >>> + no-map; >>> + }; >> >> Any reason it's in two parts? Should it be one contiguous region, or >> two separate nodes? >> >> lgtm otherwise > > Hi Konrad, I copied this from downstream as-is. > According to the downstream docs [1]: > > HOB RAM MMAP Device provides ability for userspace to access the > hand over block memory to read out modem related parameters. > > And the two regs are the "DHOB partition" and "SHOB partition". Oh right, motorola made some inventions here.. > > I suppose this is something Motorola (firmware?) specific (since the > downstream compatible is mmi,hob_ram [2]). > Should I split this into 2 nodes - dhob@f500000 and shob@f540000? Yes please and add the downstream txt link to the commit message in case somebody was curious down the line. Konrad